PHP Класс Prado\TApplicationStatePersister

TApplicationStatePersister provides a file-based persistent storage for application state. Application state, when serialized, is stored in a file named 'global.cache' under the 'runtime' directory of the application. Cache will be exploited if it is enabled.
С версии: 3.0
Автор: Qiang Xue ([email protected])
Наследование: extends TModule, implements prado\IStatePersister
Показать файл Открыть проект

Открытые методы

Метод Описание
init ( $config ) Initializes module.
load ( ) : mixed Loads application state from persistent storage.
save ( $state ) Saves application state in persistent storage.

Защищенные методы

Метод Описание
getStateFilePath ( ) : string

Описание методов

getStateFilePath() защищенный метод

protected getStateFilePath ( ) : string
Результат string the file path storing the application state

init() публичный метод

Initializes module.
public init ( $config )

load() публичный метод

Loads application state from persistent storage.
public load ( ) : mixed
Результат mixed application state

save() публичный метод

Saves application state in persistent storage.
public save ( $state )