I'm sorry for inconvenience...

It's ok, using in my template the function works...

Thanks!

On Feb 7, 6:37 am, Azrael <azrael....@gmail.com> wrote:
> link_to() is a helper. Helpers are loaded while template processing. Use it
> from template.
>
> 2010/2/7 Eno <symb...@gmail.com>
>
> > On Sat, 6 Feb 2010, Rodrigo Prado wrote:
>
> > > I haved a problem.
>
> > > I tried to use the function link_to():
>
> > > portalcepai\apps\frontend\modules\teste\actions\actions.class.php
>
> > > <?php
> > > class testeActions extends sfActions
> > > {
> > >   public function executeIndex(sfWebRequest $request)
> > >   {
> > >     echo link_to("Create Account", "sfApply/apply");
> > >   }
> > > }
>
> > > When I will test the message show:
>
> > > Fatal error: Call to undefined function link_to() in C:\xampplite
> > > \htdocs\portalcepai\apps\frontend\modules\teste\actions
> > > \actions.class.php
>
> > Normally one would use link_to() in a template.
>
> > --
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "symfony users" group.
> > To post to this group, send email to symfony-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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