+ Reply to Thread
Results 1 to 2 of 2

Thread: Generating urls from a model

  1. #1
    gshockoman is offline 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.

  2. #2
    jenscski is offline 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.

+ Reply to Thread

Similar Threads

  1. SES / NICE URLs
    By diemuzi in forum Model-View-Controller (MVC)
    Replies: 1
    Last Post: 03-16-2010, 10:09 AM
  2. URLs, Routes and SEO
    By stukov in forum Model-View-Controller (MVC)
    Replies: 0
    Last Post: 02-05-2010, 04:29 PM
  3. help regarding to using regex for urls
    By go2riz in forum Web & Web Services
    Replies: 0
    Last Post: 12-07-2009, 11:17 AM
  4. How to do URLs with language
    By tixrus in forum Internationalization (i18n) & Localization (l10n)
    Replies: 0
    Last Post: 01-28-2009, 08:59 PM
  5. Change + to - in urls
    By horseatingweeds in forum General Q&A on Zend Framework
    Replies: 3
    Last Post: 09-08-2008, 02:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts