Simple secured confirmation dialog
Displays and verifies a confirmation dialog. This dialog is secured using a token (nonce).
Usage:
- $confirm = new Confirmation('Are you sure you want to do something?', 'dosomething');
- $confirm->text = 'Foo bar';
- try {
- $confirm->requireConfirmation();
- } catch(ApplicationException $error) {
- return $confirm;
- }
- // do something ....
Located in /phpsatk-lib/global/org.eenterphace.sat.confirmation/confirmation.php (line 50)
PHPTAL | --TemplateTAL | --Confirmation
Initialize the confirmation, template
Renders the template
Inserts the token.
Requires confirmation
Will throw a ApplicationException until the user has confirmed.
Inherited From TemplateTAL
TemplateTAL::__construct()
TemplateTAL::getType()
TemplateTAL::prepare()
TemplateTAL::render()
TemplateTAL::renderDOM()
Documentation generated on Mon, 21 May 2007 10:34:49 +0200 by phpDocumentor 1.3.0RC5