IStatePersister

Package system.base
Inheritance interface IStatePersister
Subclasses CStatePersister
Since 1.0
Version $Id: interfaces.php 1678 2010-01-07 21:02:00Z qiang.xue $
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.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
load() Loads state data from a persistent storage. IStatePersister
save() Saves state data into a persistent storage. IStatePersister

Method Details

load() method
abstract public mixed load()
{return} mixed the state

Loads state data from a persistent storage.

save() method
abstract public void save(mixed $state)
$state mixed the state to be saved

Saves state data into a persistent storage.