PHP 클래스 Neos\Flow\Mvc\Routing\StaticRoutePart

상속: extends AbstractRoutePart
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

공개 메소드들

메소드 설명
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