PHP 클래스 Jade\Engine\Options

상속: extends Jade\Engine\Keywords
파일 보기 프로젝트 열기: kylekatarnls/jade-php

보호된 프로퍼티들

프로퍼티 타입 설명
$options array

공개 메소드들

메소드 설명
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.

메소드 상세

getOption() 공개 메소드

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

setCustomOption() 공개 메소드

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

setCustomOptions() 공개 메소드

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

setOption() 공개 메소드

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

setOptions() 공개 메소드

Set multiple standard options.
public setOptions ( $options )

프로퍼티 상세

$options 보호되어 있는 프로퍼티

protected array $options
리턴 array