메소드 | 설명 | |
---|---|---|
__construct ( String $raw_insert, boolean $base = false, boolean $disabled = false ) | Constructor | |
disable ( ) | Disables this Segment. | |
enable ( ) | Enables this Segment. | |
get ( string $property_name ) : string | get: Mediocre getter which returns a single requested property. | |
is_base ( ) : boolean | is_base: Tells if the Segment is a base Segment or not. | |
setLink ( string $link ) | setLink: Basic setter method. | |
setTranslated ( string $value ) | setTranslated: Basic setter method. | |
vars ( ) : array | vars: alias method. |
public __construct ( String $raw_insert, boolean $base = false, boolean $disabled = false ) | ||
$raw_insert | String | The value/name of the segment in the URI |
$base | boolean | If this points to the base url of your site, then set to true, otherwise false |
$disabled | boolean |
public disable ( ) |
public setTranslated ( string $value ) | ||
$value | string |