0 follower

IStatePersister

Package system.base
Inheritance interface IStatePersister
Subclasses CDbStatePersister, CStatePersister
Since 1.0
Source Code framework/base/interfaces.php
IStatePersister is the interface that must be implemented by state persister classes.

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#139 (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#144 (show)
public function save($state);

Saves state data into a persistent storage.