This class provides the interface that classes need to implement to be able to be used by the PersistentObject and Search components.
Source for this file: /Base/src/interfaces/persistable.php
Version: | //autogen// |
Child Class | Description |
---|---|
ezcCacheStackMetaData | Interface for stack meta data. |
public ezcBasePersistable |
__construct(
)
The constructor for the object needs to be able to accept no arguments. |
public array(string=>mixed) |
getState(
)
Returns all the object's properties so that they can be stored or indexed. |
public void |
setState(
$properties
)
Accepts an array containing data for one or more of the class' properties. |
The constructor for the object needs to be able to accept no arguments.
The data is later set through the setState() method.
Returns all the object's properties so that they can be stored or indexed.
Accepts an array containing data for one or more of the class' properties.
Name | Type | Description |
---|---|---|
$properties |
array |