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

상속: implements Neos\Flow\Mvc\Routing\RoutePartInterface
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultValue mixed Default value of the Route Part.
$isOptional boolean Specifies whether this Route Part is optional. Which means it's put in parentheses in the routes URI pattern.
$lowerCase boolean Specifies whether this Route Part should be converted to lower case when resolved.
$name string Name of the Route Part
$options array Contains options for this Route Part.
$value mixed Value of the Route Part after decoding.

공개 메소드들

메소드 설명
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 Getter for $this->isOptional.
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.

메소드 상세

getDefaultValue() 공개 메소드

Gets default value of the Route Part.
public getDefaultValue ( ) : mixed
리턴 mixed $defaultValue

getName() 공개 메소드

Returns name of the Route Part.
public getName ( ) : string
리턴 string

getOptions() 공개 메소드

public getOptions ( ) : array
리턴 array options of this Route Part.

getValue() 공개 메소드

Returns value of the Route Part. Before match() is called this returns NULL.
public getValue ( ) : mixed
리턴 mixed

hasDefaultValue() 공개 메소드

Returns TRUE if a default value is set for this Route Part, otherwise FALSE.
public hasDefaultValue ( ) : boolean
리턴 boolean

hasValue() 공개 메소드

Returns TRUE if a value is set for this Route Part, otherwise FALSE.
public hasValue ( ) : boolean
리턴 boolean

isLowerCase() 공개 메소드

Getter for $this->lowerCase.
또한 보기: setLowerCase()
public isLowerCase ( ) : boolean
리턴 boolean TRUE if this Route part will be converted to lower case, otherwise FALSE.

isOptional() 공개 메소드

Getter for $this->isOptional.
또한 보기: setOptional()
public isOptional ( ) : boolean
리턴 boolean TRUE if this Route part is optional, otherwise FALSE.

setDefaultValue() 공개 메소드

Sets default value of the Route Part.
public setDefaultValue ( mixed $defaultValue ) : void
$defaultValue mixed
리턴 void

setLowerCase() 공개 메소드

Specifies whether this Route part should be converted to lower case when resolved.
public setLowerCase ( boolean $lowerCase ) : void
$lowerCase boolean TRUE: this Route part is converted to lower case. FALSE: this Route part is not altered.
리턴 void

setName() 공개 메소드

Sets name of the Route Part.
public setName ( string $partName ) : void
$partName string
리턴 void

setOptional() 공개 메소드

Specifies whether this Route part is optional.
public setOptional ( boolean $isOptional ) : void
$isOptional boolean TRUE: this Route part is optional. FALSE: this Route part is required.
리턴 void

setOptions() 공개 메소드

Options can be used to enrich a route part with parameters or settings like case sensivity.
public setOptions ( array $options ) : void
$options array
리턴 void

프로퍼티 상세

$defaultValue 보호되어 있는 프로퍼티

Default value of the Route Part.
protected mixed $defaultValue
리턴 mixed

$isOptional 보호되어 있는 프로퍼티

Specifies whether this Route Part is optional. Which means it's put in parentheses in the routes URI pattern.
protected bool $isOptional
리턴 boolean

$lowerCase 보호되어 있는 프로퍼티

Specifies whether this Route Part should be converted to lower case when resolved.
protected bool $lowerCase
리턴 boolean

$name 보호되어 있는 프로퍼티

Name of the Route Part
protected string $name
리턴 string

$options 보호되어 있는 프로퍼티

Contains options for this Route Part.
protected array $options
리턴 array

$value 보호되어 있는 프로퍼티

Value of the Route Part after decoding.
protected mixed $value
리턴 mixed