@url in the entry point.
More...

Public Member Functions | |
| getEntryPoint () | |
| Provides the entry point this template belongs to. | |
| getUrlParts () | |
| Returns all parts of this url. | |
| getLocale () | |
| Locale this url template is for. | |
| toRegex () | |
| Provides a regular expression a url must match. | |
| regexMatchToVariables (array $matches) | |
| Parses variables out of a regular expression match of the url. | |
| toHumanReadableString () | |
| Converts the url template to a human-readable string. | |
@url in the entry point.
Definition at line 6 of file IUrlTemplate.interface.php.
| spunQ_IUrlTemplate::getEntryPoint | ( | ) |
Provides the entry point this template belongs to.
Implemented in spunQ_DefaultUrlManagerUrlTemplate.
| spunQ_IUrlTemplate::getLocale | ( | ) |
Locale this url template is for.
Implemented in spunQ_DefaultUrlManagerUrlTemplate.
| spunQ_IUrlTemplate::getUrlParts | ( | ) |
Returns all parts of this url.
The parts are used to sort the templates automatically in the spunQ_UrlManager.
Implemented in spunQ_DefaultUrlManagerUrlTemplate.
| spunQ_IUrlTemplate::regexMatchToVariables | ( | array $ | matches | ) |
Parses variables out of a regular expression match of the url.
| $matches | Result of the preg_match() performed by the url router with the regular expression of this url part (acquired by call to toRegex()). |
false. Implemented in spunQ_DefaultUrlManagerUrlTemplate.
| spunQ_IUrlTemplate::toHumanReadableString | ( | ) |
Converts the url template to a human-readable string.
Will most likely return the string as it was declared in the @url part of the entry point.
Implemented in spunQ_DefaultUrlManagerUrlTemplate.
| spunQ_IUrlTemplate::toRegex | ( | ) |
Provides a regular expression a url must match.
The regex must escape exclamation marks in addition to any other special characters. This means: if preg_quote() is used, make sure the second parameter is an exclamation mark (!).
Implemented in spunQ_DefaultUrlManagerUrlTemplate.
1.5.9