Hi,
>> Might be a silly question, but how would i use url_for in an action?..
>
> Like this you can load any helper anywhere. sfLoader::loadHelpers (array
> $helpers, $moduleName = '')
>
> sfLoader::loadHelpers(array('Url'));
> $url = url_for(...);
Yes, but in this case there's a better way, a
Jon Busby wrote:
> Might be a silly question, but how would i use url_for in an action?..
>
> Kiril Angov wrote:
>
>> Jon Busby wrote:
>>
>>
>>> Hi everyone,
>>>
>>> Simple question this - how can I get symfony to return a full link to a
>>> module - in an action.. (just like Link_to d
Might be a silly question, but how would i use url_for in an action?..
Kiril Angov wrote:
> Jon Busby wrote:
>
>> Hi everyone,
>>
>> Simple question this - how can I get symfony to return a full link to a
>> module - in an action.. (just like Link_to does, but without the xhtml)
>>
>> Jon
>>
Jon Busby wrote:
> Hi everyone,
>
> Simple question this - how can I get symfony to return a full link to a
> module - in an action.. (just like Link_to does, but without the xhtml)
>
> Jon
>
> >
>
>
Are you looking for
(string) url_for ($internal_uri, $absolute = false)
Returns a routed URL