PHP 클래스 HTMLPurifier_PropertyList, yii

파일 보기 프로젝트 열기: yiisoft/yii 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$cache Cache.
$data Internal data-structure for properties.
$parent Parent plist.

공개 메소드들

메소드 설명
__construct ( HTMLPurifier_PropertyList $parent = null )
get ( string $name ) Recursively retrieves the value for a key
getParent ( ) : HTMLPurifier_PropertyList Returns the parent plist.
has ( string $name ) : boolean Returns true if a given key exists
reset ( string $name = null ) Resets a value to the value of it's parent, usually the default. If no value is specified, the entire plist is reset.
set ( string $name, mixed $value ) Sets the value of a key, for this plist
setParent ( HTMLPurifier_PropertyList $plist ) Sets the parent plist.
squash ( boolean $force = false ) : array Squashes this property list and all of its property lists into a single array, and returns the array. This value is cached by default.

메소드 상세

__construct() 공개 메소드

public __construct ( HTMLPurifier_PropertyList $parent = null )
$parent HTMLPurifier_PropertyList Parent plist

get() 공개 메소드

Recursively retrieves the value for a key
public get ( string $name )
$name string

getParent() 공개 메소드

Returns the parent plist.
public getParent ( ) : HTMLPurifier_PropertyList
리턴 HTMLPurifier_PropertyList

has() 공개 메소드

Returns true if a given key exists
public has ( string $name ) : boolean
$name string
리턴 boolean

reset() 공개 메소드

Resets a value to the value of it's parent, usually the default. If no value is specified, the entire plist is reset.
public reset ( string $name = null )
$name string

set() 공개 메소드

Sets the value of a key, for this plist
public set ( string $name, mixed $value )
$name string
$value mixed

setParent() 공개 메소드

Sets the parent plist.
public setParent ( HTMLPurifier_PropertyList $plist )
$plist HTMLPurifier_PropertyList Parent plist

squash() 공개 메소드

Squashes this property list and all of its property lists into a single array, and returns the array. This value is cached by default.
public squash ( boolean $force = false ) : array
$force boolean If true, ignores the cache and regenerates the array.
리턴 array

프로퍼티 상세

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

Cache.
protected $cache

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

Internal data-structure for properties.
protected $data

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

Parent plist.
protected $parent