Skip to end of metadata
Go to start of metadata

5.5. Variable requirements

One can add a fourth parameter where variable requirements can be set. These are defined as regular expressions:

Note
Unlike Ruby on Rails, ZF RewriteRouter will match a route and use a default when a fourth parameter variable requirement is not met. So the URL of 'http://example.com/archive/test' will match the above route and set the year to 2006. This functionality may be altered in the future as it is being discussed at the moment of writing of this documentation.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.