PHP 클래스 Sulu\Component\Webspace\Segment

상속: implements Sulu\Component\Util\ArrayableInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
getKey ( ) : string Returns the key of the segment.
getName ( ) : string Returns the name of the segment.
isDefault ( ) : boolean Returns whether this segment is the default one.
setDefault ( boolean $default ) Sets if this segment is the default one.
setKey ( string $key ) Sets the key of the segment.
setName ( string $name ) Sets the name of the segment.
toArray ( $depth = null )

메소드 상세

getKey() 공개 메소드

Returns the key of the segment.
public getKey ( ) : string
리턴 string

getName() 공개 메소드

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

isDefault() 공개 메소드

Returns whether this segment is the default one.
public isDefault ( ) : boolean
리턴 boolean

setDefault() 공개 메소드

Sets if this segment is the default one.
public setDefault ( boolean $default )
$default boolean

setKey() 공개 메소드

Sets the key of the segment.
public setKey ( string $key )
$key string

setName() 공개 메소드

Sets the name of the segment.
public setName ( string $name )
$name string

toArray() 공개 메소드

public toArray ( $depth = null )