
Public Member Functions | |
| __construct (spunQ_DefaultUrlManagerUrlTemplate $urlTemplate, $string) | |
| Constructor. | |
| getLocaleShortName () | |
| Provides the short name of the locale of the url template. | |
| getLocale () | |
| Provides the locale of the url template. | |
| getString () | |
| Provides the string for parts that are not regular expressions. | |
| getVariableName () | |
| setVariableName ($variableName) | |
| getType () | |
| setType ($type) | |
| getOptions () | |
| setOptions ($options) | |
| getRegularExpression () | |
| Provides the regular expression of this part. | |
| setRegularExpression ($regularExpression) | |
| getUrlTemplate () | |
| Provides the url template this part belongs to. | |
| isRegularExpression () | |
| Whether this part of the url is a regular expression. | |
Private Attributes | |
| $urlTemplate | |
| The url tempalte this object belongs to. | |
| $string | |
| $variableName | |
| $type | |
| $options | |
| $regularExpression | |
The object might be in two states (could have been sub-classed, but I'll leave the current implementation for now):
Definition at line 14 of file DefaultUrlManagerUrlTemplatePart.class.php.
| spunQ_DefaultUrlManagerUrlTemplatePart::__construct | ( | spunQ_DefaultUrlManagerUrlTemplate $ | urlTemplate, | |
| $ | string | |||
| ) |
Constructor.
| $urlTemplate | The url tempalte this object belongs to. |
Definition at line 36 of file DefaultUrlManagerUrlTemplatePart.class.php.
| spunQ_DefaultUrlManagerUrlTemplatePart::getLocale | ( | ) |
Provides the locale of the url template.
Definition at line 56 of file DefaultUrlManagerUrlTemplatePart.class.php.
| spunQ_DefaultUrlManagerUrlTemplatePart::getLocaleShortName | ( | ) |
Provides the short name of the locale of the url template.
Definition at line 47 of file DefaultUrlManagerUrlTemplatePart.class.php.
| spunQ_DefaultUrlManagerUrlTemplatePart::getRegularExpression | ( | ) |
Provides the regular expression of this part.
true. Implements spunQ_IUrlTemplatePart.
Definition at line 91 of file DefaultUrlManagerUrlTemplatePart.class.php.
| spunQ_DefaultUrlManagerUrlTemplatePart::getString | ( | ) |
Provides the string for parts that are not regular expressions.
false. Implements spunQ_IUrlTemplatePart.
Definition at line 60 of file DefaultUrlManagerUrlTemplatePart.class.php.
| spunQ_DefaultUrlManagerUrlTemplatePart::getUrlTemplate | ( | ) |
Provides the url template this part belongs to.
Implements spunQ_IUrlTemplatePart.
Definition at line 106 of file DefaultUrlManagerUrlTemplatePart.class.php.
| spunQ_DefaultUrlManagerUrlTemplatePart::isRegularExpression | ( | ) |
Whether this part of the url is a regular expression.
Very important to be able to compare url templates for sorting them.
Implements spunQ_IUrlTemplatePart.
Definition at line 113 of file DefaultUrlManagerUrlTemplatePart.class.php.
spunQ_DefaultUrlManagerUrlTemplatePart::$urlTemplate [private] |
The url tempalte this object belongs to.
Definition at line 20 of file DefaultUrlManagerUrlTemplatePart.class.php.
1.5.9