PHP Class Jade\Engine\Options

Inheritance: extends Jade\Engine\Keywords
Afficher le fichier Open project: kylekatarnls/jade-php

Protected Properties

Свойство Type Description
$options array

Méthodes publiques

Méthode Description
getOption ( $name ) Get standard or custom option, return the previously setted value or the default value else.
setCustomOption ( $name, $value ) Set one custom option.
setCustomOptions ( array $options ) Set multiple custom options.
setOption ( $name, $value ) Set one standard option (listed in $this->options).
setOptions ( $options ) Set multiple standard options.

Method Details

getOption() public méthode

Throw a invalid argument exception if the option does not exists.
public getOption ( $name )

setCustomOption() public méthode

Set one custom option.
public setCustomOption ( $name, $value )

setCustomOptions() public méthode

Set multiple custom options.
public setCustomOptions ( array $options )
$options array

setOption() public méthode

Set one standard option (listed in $this->options).
public setOption ( $name, $value )

setOptions() public méthode

Set multiple standard options.
public setOptions ( $options )

Property Details

$options protected_oe property

protected array $options
Résultat array