0 follower

IStatePersister

Package system.base
Inheritance interface IStatePersister
Subclasses CStatePersister
Since 1.0
Version $Id$
Source Code framework/base/interfaces.php
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
Source Code: framework/base/interfaces.php#143 (show)
public function load();

Loads state data from a persistent storage.

save() method
abstract public void save(mixed $state)
$state mixed the state to be saved
Source Code: framework/base/interfaces.php#148 (show)
public function save($state);

Saves state data into a persistent storage.