Skip to content

Instantly share code, notes, and snippets.

@delbono
Created August 31, 2010 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save delbono/558777 to your computer and use it in GitHub Desktop.
Save delbono/558777 to your computer and use it in GitHub Desktop.
<?php
$foods = Doctrine_Query::create()
->from('OrdinativiMenuItemDay a')
->leftJoin('a.MenuItemDays m')
->where('a.menu_id = ? ', $menu_id );
var_dump($foods->fetchArray());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment