I'm using the action helper,
$urlHelper = Zend_Controller_Action_HelperBroker::getStaticHelp er('Url');
Not sure if it's the best way, but it works well.
Hello,
I have a model which should return urls according to some logic.
What is the best way to generate these urls? I am using routes, and the question is actually - whether I use the Url Action Helper, Url View Helper, or something else I don't know yet ?
Thanx.
I'm using the action helper,
$urlHelper = Zend_Controller_Action_HelperBroker::getStaticHelp er('Url');
Not sure if it's the best way, but it works well.