PHP 클래스 SassList

상속: extends SassLiteral
파일 보기 프로젝트 열기: richthegeek/phpsass 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$separator

공개 메소드들

메소드 설명
__construct ( string $value, string $separator = 'auto' ) : SassBoolean SassBoolean constructor
_build_list ( $list, $separator = ',' )
_parse_list ( $list, $separator = 'auto', $lex = true, $context = null )
append ( $other, $separator = null )
getValue ( ) : boolean Returns the value of this boolean.
index ( $value ) New function index returns the list index of a value within a list. For example: index(1px solid red, solid) returns 2. When the value is not found false is returned.
isa ( string $subject ) : mixed Returns a value indicating if a token of this type can be matched at the start of the subject string.
length ( )
nth ( $i )
toString ( ) : string Returns a string representation of the value.

메소드 상세

__construct() 공개 메소드

SassBoolean constructor
public __construct ( string $value, string $separator = 'auto' ) : SassBoolean
$value string value of the boolean type
$separator string
리턴 SassBoolean

_build_list() 공개 정적인 메소드

public static _build_list ( $list, $separator = ',' )

_parse_list() 공개 정적인 메소드

public static _parse_list ( $list, $separator = 'auto', $lex = true, $context = null )

append() 공개 메소드

public append ( $other, $separator = null )

getValue() 공개 메소드

Returns the value of this boolean.
public getValue ( ) : boolean
리턴 boolean the value of this boolean

index() 공개 메소드

New function index returns the list index of a value within a list. For example: index(1px solid red, solid) returns 2. When the value is not found false is returned.
public index ( $value )

isa() 공개 정적인 메소드

Returns a value indicating if a token of this type can be matched at the start of the subject string.
public static isa ( string $subject ) : mixed
$subject string the subject string
리턴 mixed match at the start of the string or false if no match

length() 공개 메소드

public length ( )

nth() 공개 메소드

public nth ( $i )

toString() 공개 메소드

Returns a string representation of the value.
public toString ( ) : string
리턴 string string representation of the value.

프로퍼티 상세

$separator 공개적으로 프로퍼티

public $separator