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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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 )