system system.base system.caching system.caching.dependencies system.collections system.console system.db system.db.ar system.db.schema system.db.schema.cubrid system.db.schema.mssql system.db.schema.mysql system.db.schema.oci system.db.schema.pgsql system.db.schema.sqlite system.gii system.i18n system.i18n.gettext system.logging system.test system.utils system.validators system.web system.web.actions system.web.auth system.web.filters system.web.form system.web.helpers system.web.renderers system.web.services system.web.widgets system.web.widgets.captcha system.web.widgets.pagers zii.behaviors zii.widgets zii.widgets.grid zii.widgets.jui

IStatePersister

system.base
继承 interface IStatePersister
子类 CDbStatePersister, CStatePersister
可用自 1.0
源码 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.

公共方法

隐藏继承的方法

方法描述被定义在
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
源码: framework/base/interfaces.php#139 (显示)
public function load();

Loads state data from a persistent storage.

save() 方法
abstract public void save(mixed $state)
$state mixed the state to be saved
源码: framework/base/interfaces.php#144 (显示)
public function save($state);

Saves state data into a persistent storage.