PHP 클래스 Prado\Web\UI\TPageStateFormatter
TPageStateFormatter is a utility class to transform the page state
into and from a string that can be properly saved in persistent storage.
Depending on the {@link TPage::getEnableStateValidation() EnableStateValidation}
and {@link TPage::getEnableStateEncryption() EnableStateEncryption},
TPageStateFormatter may do HMAC validation and encryption to prevent
the state data from being tampered or viewed.
The private keys and hashing/encryption methods are determined by
{@link TApplication::getSecurityManager() SecurityManager}.
파일 보기
프로젝트 열기: pradosoft/prado
1 사용 예제들
공개 메소드들
메소드 상세
public static unserialize ( $page, $data ) : mixed |
리턴 |
mixed |
unserialized state data, null if data is corrupted |