Method |
Description |
|
getDefaultValue ( ) : mixed |
Gets default value of the Route Part. |
|
getName ( ) : string |
Returns name of the Route Part. |
|
getOptions ( ) : array |
|
|
getValue ( ) : mixed |
Returns value of the Route Part. Before match() is called this returns NULL. |
|
hasDefaultValue ( ) : boolean |
Returns TRUE if a default value is set for this Route Part, otherwise FALSE. |
|
hasValue ( ) : boolean |
Returns TRUE if a value is set for this Route Part, otherwise FALSE. |
|
isLowerCase ( ) : boolean |
Getter for $this->lowerCase. |
|
isOptional ( ) : boolean |
|
|
match ( &$routePath ) : boolean |
Checks whether this Route Part corresponds to the given $routePath. |
|
resolve ( array &$routeValues ) : boolean |
Checks whether this Route Part corresponds to the given $routeValues. |
|
setDefaultValue ( mixed $defaultValue ) : void |
Sets default value of the Route Part. |
|
setLowerCase ( boolean $lowerCase ) : void |
Specifies whether this Route part should be converted to lower case when resolved. |
|
setName ( string $partName ) : void |
Sets name of the Route Part. |
|
setOptional ( boolean $isOptional ) : void |
Specifies whether this Route part is optional. |
|
setOptions ( array $options ) : void |
Defines options for this Route Part. |
|