[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/UI/ -> TPageStatePersister.php (sommaire)

TPageStatePersister class file

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: TPageStatePersister.php 1397 2006-09-07 07:55:53Z wei $
Poids: 98 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

TPageStatePersister:: (4 méthodes):
  getPage()
  setPage()
  save()
  load()


Classe: TPageStatePersister  - X-Ref

TPageStatePersister class

TPageStatePersister implements a page state persistent method based on
form hidden fields.

Depending on the {@link TPage::getEnableStateValidation() EnableStateValidation}
and {@link TPage::getEnableStateEncryption() EnableStateEncryption},
TPageStatePersister 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}.

getPage()   X-Ref

return: TPage the page that this persister works for

setPage(TPage $page)   X-Ref

param: TPage the page that this persister works for

save($state)   X-Ref
Saves state in hidden fields.

param: mixed state to be stored

load()   X-Ref
Loads page state from hidden fields.

return: mixed the restored state



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7