Метод | Описание | |
---|---|---|
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 ) |
public setDefault ( boolean $default ) | ||
$default | boolean |