Zend Framework Forum

Go Back   Zend Framework Forum > Zend Framework General discussions > General Q&A on Zend Framework

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-08-2010, 11:22 AM
Junior Member
 
Join Date: Feb 2010
Posts: 1
Question Generating urls from a model

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-08-2010, 12:14 PM
Junior Member
 
Join Date: Dec 2009
Posts: 4
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 12:32 AM.


Designed by: Miner Skinz Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0