PHP Class Sulu\Component\SmartContent\ArrayAccessItem

Inheritance: implements Sulu\Component\SmartContent\ResourceItemInterface, implements ArrayAccess, implements JsonSerializable
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( mixed $id, array $data, object $resource )
__get ( $name )
getId ( )
getResource ( )
jsonSerialize ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )

Méthodes protégées

Méthode Description
exists ( string $key ) : boolean Returns TRUE if data array contains given key.
get ( string $key ) : mixed Returns value with given key.

Method Details

__construct() public méthode

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

__get() public méthode

public __get ( $name )

exists() protected méthode

Returns TRUE if data array contains given key.
protected exists ( string $key ) : boolean
$key string
Résultat boolean

get() protected méthode

Returns value with given key.
protected get ( string $key ) : mixed
$key string
Résultat mixed

getId() public méthode

public getId ( )

getResource() public méthode

public getResource ( )

jsonSerialize() public méthode

public jsonSerialize ( )

offsetExists() public méthode

public offsetExists ( $offset )

offsetGet() public méthode

public offsetGet ( $offset )

offsetSet() public méthode

public offsetSet ( $offset, $value )

offsetUnset() public méthode

public offsetUnset ( $offset )