Class TPageStateFormatter

Description

TPageStateFormatter class.

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 EnableStateValidation and 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 SecurityManager.

Located in /Web/UI/TPage.php (line 1293)


	
			
Method Summary
static string serialize (TPage $page, mixed $data)
static mixed unserialize (TPage $page, string $data)
Methods
static method serialize (line 1300)
  • return: serialized data
  • access: public
static string serialize (TPage $page, mixed $data)
  • TPage $page
  • mixed $data: state data
static method unserialize (line 1319)
  • return: unserialized state data, null if data is corrupted
  • access: public
static mixed unserialize (TPage $page, string $data)
  • TPage $page
  • string $data: serialized data

Documentation generated on Mon, 25 Jun 2012 14:38:49 +0200 by phpDocumentor 1.4.3