On Wed, 9 Sep 2009, MrGlass wrote:

> *in the following code, $posts is an array of post objects returned by
> a doctrine query*
> 
>       <?php foreach ($posts as $post): ?>
>               <tr>
>                       <td class="Title"><a href="<?php echo 
> url_for('post_pretty_url',
> $post) ?>">

Code above looks a little odd: is 'post_pretty_url' an internal URI? Also 
the second parameter of url_for() should be true or false but you're 
passing in the object instead??


-- 



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

Reply via email to