PHP 인터페이스 Inpsyde_Property_List_Interface

저자: toscho
파일 보기 프로젝트 열기: inpsyde/multilingual-press 0 사용 예제들

공개 메소드들

메소드 설명
__get ( string $name ) : mixed Wrapper for get()
__isset ( string $name ) : boolean Wrapper for has().
__set ( string $name, mixed $value ) Wrapper for set().
delete ( string $name ) : void | Inpsyde_Property_List Delete a key and set its name to the $deleted list.
freeze ( ) : Inpsyde_Property_List_Interface Lock write access to this object's instance. Forever.
get ( string $name ) : mixed Get a value.
has ( string $name ) : boolean Check if property exists.
has_parent ( ) : boolean Test if the current instance has a parent.
is_frozen ( ) : boolean Test from outside if an object has been frozen.
set ( string $name, mixed $value ) : void | Inpsyde_Property_List Set new value.
set_parent ( Inpsyde_Property_List_Interface $object ) : Inpsyde_Property_List_Interface Set parent object. Properties of this object will be inherited.

메소드 상세

__get() 공개 메소드

Wrapper for get()
또한 보기: get()
public __get ( string $name ) : mixed
$name string
리턴 mixed

__isset() 공개 메소드

Wrapper for has().
또한 보기: has()
public __isset ( string $name ) : boolean
$name string
리턴 boolean

__set() 공개 메소드

Wrapper for set().
또한 보기: set()
public __set ( string $name, mixed $value )
$name string
$value mixed

delete() 공개 메소드

Further calls to has() and get() will not take this property into account.
public delete ( string $name ) : void | Inpsyde_Property_List
$name string
리턴 void | Inpsyde_Property_List

freeze() 공개 메소드

Lock write access to this object's instance. Forever.
public freeze ( ) : Inpsyde_Property_List_Interface
리턴 Inpsyde_Property_List_Interface $this

get() 공개 메소드

Might be taken from parent object.
public get ( string $name ) : mixed
$name string
리턴 mixed

has() 공개 메소드

Due to syntax restrictions in PHP we cannot name this "isset()".
public has ( string $name ) : boolean
$name string
리턴 boolean

has_parent() 공개 메소드

Test if the current instance has a parent.
public has_parent ( ) : boolean
리턴 boolean

is_frozen() 공개 메소드

Test from outside if an object has been frozen.
public is_frozen ( ) : boolean
리턴 boolean

set() 공개 메소드

Set new value.
public set ( string $name, mixed $value ) : void | Inpsyde_Property_List
$name string
$value mixed
리턴 void | Inpsyde_Property_List

set_parent() 공개 메소드

Set parent object. Properties of this object will be inherited.
public set_parent ( Inpsyde_Property_List_Interface $object ) : Inpsyde_Property_List_Interface
$object Inpsyde_Property_List_Interface
리턴 Inpsyde_Property_List_Interface