It's only an alias.

So usualy when i create query from users I use  ->createQuery('u'),
from Pages  ->createQuery('p') if from Pages and Programs in one
query ...  ->createQuery('pa').....  ->....from('Programs pr')




On 15 kvě, 22:42, Garry Freemyer <garry...@pacbell.net> wrote:
> I looked over google till my eyes bled. I do not find any explanation as to 
> why the 'a' is used as a parameter to createQuery in the code below. I don't 
> like being left in the dark. Can someone explain what this is doing?
>
> The url for the jobeet tutorial non-explained code is 
> ...http://www.symfony-project.org/jobeet/1_4/Doctrine/en/04
>
> / apps/frontend/modules/job/actions/actions.class.php class jobActions 
> extends sfActions
> { public function executeIndex(sfWebRequest $request) { $this->jobeet_jobs = 
> Doctrine::getTable('JobeetJob')
>       ->createQuery('a')
>       ->execute();
>   }
>
>   // ... }
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to