PHP 클래스 Sulu\Component\SmartContent\ArrayAccessItem

상속: implements Sulu\Component\SmartContent\ResourceItemInterface, implements ArrayAccess, implements JsonSerializable
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( mixed $id, array $data, object $resource )
__get ( $name )
getId ( )
getResource ( )
jsonSerialize ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )

보호된 메소드들

메소드 설명
exists ( string $key ) : boolean Returns TRUE if data array contains given key.
get ( string $key ) : mixed Returns value with given key.

메소드 상세

__construct() 공개 메소드

public __construct ( mixed $id, array $data, object $resource )
$id mixed
$data array
$resource object

__get() 공개 메소드

public __get ( $name )

exists() 보호된 메소드

Returns TRUE if data array contains given key.
protected exists ( string $key ) : boolean
$key string
리턴 boolean

get() 보호된 메소드

Returns value with given key.
protected get ( string $key ) : mixed
$key string
리턴 mixed

getId() 공개 메소드

public getId ( )

getResource() 공개 메소드

public getResource ( )

jsonSerialize() 공개 메소드

public jsonSerialize ( )

offsetExists() 공개 메소드

public offsetExists ( $offset )

offsetGet() 공개 메소드

public offsetGet ( $offset )

offsetSet() 공개 메소드

public offsetSet ( $offset, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $offset )