PHP Class Jade\Engine\Options

Inheritance: extends Jade\Engine\Keywords
Show file Open project: kylekatarnls/jade-php

Protected Properties

Property Type Description
$options array

Public Methods

Method 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 method

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

setCustomOption() public method

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

setCustomOptions() public method

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

setOption() public method

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

setOptions() public method

Set multiple standard options.
public setOptions ( $options )

Property Details

$options protected property

protected array $options
return array