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 [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.