Свойство | Type | Description | |
---|---|---|---|
$_values | array | Associative array filled on match() that holds matched path values for given variable names. | |
$action | string | ||
$controller | string | ||
$creationDate | integer | ||
$defaults | string | ||
$id | integer | ||
$modificationDate | integer | ||
$module | string | ||
$name | string | ||
$pattern | string | ||
$priority | integer | ||
$reverse | string | ||
$siteId | integer | ||
$variables | string |
Свойство | Type | Description | |
---|---|---|---|
$_currentRoute | contains the static route which the current request matches (it he does), this is used in the view to get the current route | ||
$nameIdMappingCache | array | this is a small per request cache to know which route is which is, this info is used in self::getByName() |
Méthode | Description | |
---|---|---|
assemble ( array $urlOptions = [], boolean $reset = false, boolean $encode = true ) : mixed | string | ||
create ( ) : |
||
getAction ( ) : string | ||
getById ( integer $id ) : |
||
getByName ( string $name, $siteId = null ) : |
||
getController ( ) : string | ||
getCreationDate ( ) : integer | ||
getCurrentRoute ( ) : |
||
getDefaults ( ) : string | ||
getDefaultsArray ( ) : array | Get the defaults defined in a string as array | |
getId ( ) : integer | ||
getModificationDate ( ) : integer | ||
getModule ( ) : string | ||
getName ( ) : string | ||
getPattern ( ) : string | ||
getPriority ( ) : integer | ||
getReverse ( ) : string | ||
getSiteId ( ) : integer | ||
getVariables ( ) : string | ||
match ( string $path, array $params = [] ) : array | boolean | ||
setAction ( string $action ) : void | ||
setController ( string $controller ) : void | ||
setCreationDate ( $creationDate ) | ||
setCurrentRoute ( $route ) : void | ||
setDefaults ( string $defaults ) : void | ||
setId ( integer $id ) | ||
setModificationDate ( $modificationDate ) | ||
setModule ( string $module ) | ||
setName ( string $name ) : void | ||
setPattern ( string $pattern ) | ||
setPriority ( integer $priority ) : void | ||
setReverse ( string $reverse ) : void | ||
setSiteId ( integer $siteId ) | ||
setVariables ( string $variables ) : void |
public static getCurrentRoute ( ) : |
||
Résultat |
public getDefaultsArray ( ) : array | ||
Résultat | array |
public setController ( string $controller ) : void | ||
$controller | string | |
Résultat | void |
public static setCurrentRoute ( $route ) : void | ||
$route | ||
Résultat | void |
public setDefaults ( string $defaults ) : void | ||
$defaults | string | |
Résultat | void |
public setModificationDate ( $modificationDate ) | ||
$modificationDate |
public setPriority ( integer $priority ) : void | ||
$priority | integer | |
Résultat | void |
public setReverse ( string $reverse ) : void | ||
$reverse | string | |
Résultat | void |
public setVariables ( string $variables ) : void | ||
$variables | string | |
Résultat | void |
protected static Staticroute,Pimcore\Model $_currentRoute | ||
Résultat |
public array $_values | ||
Résultat | array |
protected static array $nameIdMappingCache | ||
Résultat | array |