In "Practical symfony" for Propel, it says:

  The /job/show/id/1 URL can be created from a template by using the
  following call to the url_for() helper:

    url_for('job/show?id='.$job->getId())

  You can also use the route name by prefixing it by @:

    url_for('@default?module=job&action=show&id='.$job->getId())

  Both calls are equivalent but the latter is much faster as the routing
  does not have to parse all routes to find the best match, and it is
  less tied to the implementation (the module and action names are not
  present in the internal URI).

Source: http://www.symfony-project.org/jobeet/1_4/Propel/en/05

I am confused. Why does it say "the module and action names are not
present in the internal URI"? After all, in the latter case, the
internal URI includes:

  module=job&action=show

Or is meant that the key-words "module" and "job" are not part of the
following code?

  'job/show?id='.$job->getId()

If the latter is the case, then - from the wording - I infer that
"@default[...]" is not an internal URI...

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to