IStatePersister
包 | system.base |
---|---|
继承 | interface IStatePersister |
子类 | CStatePersister |
可用自 | 1.0 |
版本 | $Id$ |
IStatePersister is the interface that must be implemented by state persister calsses.
This interface must be implemented by all state persister classes (such as CStatePersister.
This interface must be implemented by all state persister classes (such as CStatePersister.
公共方法
方法 | 描述 | 被定义在 |
---|---|---|
load() | Loads state data from a persistent storage. | IStatePersister |
save() | Saves state data into a persistent storage. | IStatePersister |
方法详情
load()
方法
abstract public mixed load()
| ||
{return} | mixed | the state |
Loads state data from a persistent storage.
save()
方法
abstract public void save(mixed $state)
| ||
$state | mixed | the state to be saved |
Saves state data into a persistent storage.