PHP Класс Neos\Flow\Mvc\Routing\StaticRoutePart

Наследование: extends AbstractRoutePart
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getDefaultValue ( ) : string Gets default value of the Route Part.
match ( string &$routePath ) : boolean Checks whether this Static Route Part correspond to the given $routePath.
resolve ( array &$routeValues ) : boolean Sets the Route Part value to the Route Part name and returns TRUE if successful.

Описание методов

getDefaultValue() публичный Метод

Gets default value of the Route Part.
public getDefaultValue ( ) : string
Результат string

match() публичный Метод

This is TRUE if $routePath is not empty and the first part is equal to the Route Part name.
public match ( string &$routePath ) : boolean
$routePath string The request path to be matched - without query parameters, host and fragment.
Результат boolean TRUE if Route Part matched $routePath, otherwise FALSE.

resolve() публичный Метод

Sets the Route Part value to the Route Part name and returns TRUE if successful.
public resolve ( array &$routeValues ) : boolean
$routeValues array not used but needed to implement \Neos\Flow\Mvc\Routing\AbstractRoutePart
Результат boolean