|
eZ Publish
[trunk]
|
The class eZWizardBase does. More...
Public Member Functions | |
| attribute ($attr) | |
| attributes () | |
| cleanup () | |
| eZWizardBase ($tpl, &$module, $storageName=false) | |
| hasAttribute ($attr) | |
| hasMetaData ($key) | |
| hasVariable ($key) | |
| initialize () | |
| metaData ($key) | |
| nextStep () | |
| previousStep () | |
| process () | |
| run () | |
| savePersistentData () | |
| setMetaData ($key, $value) | |
| setVariable ($key, $value) | |
| & | variable ($key) |
| variableList () | |
Public Attributes | |
| $ErrorList = array() | |
| $HTTP | |
| $MetaData = array() | |
| $MetaDataName = '_meta' | |
| $Module | |
| $StepArray = array() | |
| $StepList = array() | |
| $StepTemplateBase = 'design:wizard/step' | |
| $StorageName = 'eZWizard' | |
| $Tpl | |
| $VariableList = array() | |
| $VariableListName = '_data' | |
| $WarningList = array() | |
| $WizardURL = '' | |
| const | STAGE_POST = 1 |
| const | STAGE_PRE = 0 |
Private Member Functions | |
| postCheck () | |
| preCheck () | |
| skip () | |
| stepTemplate () | |
The class eZWizardBase does.
Definition at line 17 of file ezwizardbase.php.
| eZWizardBase::attribute | ( | $ | attr | ) |
Definition at line 77 of file ezwizardbase.php.
Definition at line 61 of file ezwizardbase.php.
Referenced by hasAttribute().
Cleanup variables used during wizard
Definition at line 316 of file ezwizardbase.php.
| eZWizardBase::eZWizardBase | ( | $ | tpl, |
| &$ | module, | ||
| $ | storageName = false |
||
| ) |
Constructor
| $tpl | Template class |
| $module | Module |
| $storageName | Storage Name, optional. |
Definition at line 29 of file ezwizardbase.php.
| eZWizardBase::hasAttribute | ( | $ | attr | ) |
Definition at line 72 of file ezwizardbase.php.
| eZWizardBase::hasMetaData | ( | $ | key | ) |
Check if has metadata value
Definition at line 247 of file ezwizardbase.php.
Referenced by initialize().
| eZWizardBase::hasVariable | ( | $ | key | ) |
Check if wizard variable exists
| $key | key of the variable |
Definition at line 287 of file ezwizardbase.php.
| eZWizardBase::metaData | ( | $ | key | ) |
Get metadata
Definition at line 239 of file ezwizardbase.php.
Referenced by nextStep(), previousStep(), run(), and stepTemplate().
| eZWizardBase::postCheck | ( | ) | [private] |
Post check current step to check that it's safe to continue to next step. Return false if current step should be processed once again, and set warning message
Definition at line 188 of file ezwizardbase.php.
Referenced by run().
| eZWizardBase::preCheck | ( | ) | [private] |
Pre check current step to check that it's safe to execute current step. Return false if current step should not be processed, and set warning message
Definition at line 174 of file ezwizardbase.php.
Referenced by run().
Process the current step, and present the HTML.
Definition at line 218 of file ezwizardbase.php.
Referenced by run().
Will run the wizard, and continue from the current step. This method will run postCheck, redirect to next, etc. depending on the current state.
return Module Result or module redirect.
Definition at line 131 of file ezwizardbase.php.
Save persistent data
Definition at line 359 of file ezwizardbase.php.
Referenced by nextStep(), previousStep(), setMetaData(), and setVariable().
| eZWizardBase::setMetaData | ( | $ | key, |
| $ | value | ||
| ) |
Store meta data.
| key | |
| value |
Definition at line 228 of file ezwizardbase.php.
Referenced by initialize(), nextStep(), and previousStep().
| eZWizardBase::setVariable | ( | $ | key, |
| $ | value | ||
| ) |
Store variable. Variable/value will be available in current and next wizard steps.
| key | |
| value |
Definition at line 258 of file ezwizardbase.php.
| eZWizardBase::skip | ( | ) | [private] |
Return true to skip current step. Current step will not be processed.
Definition at line 207 of file ezwizardbase.php.
Referenced by run().
| eZWizardBase::stepTemplate | ( | ) | [private] |
Get Step template name.
Definition at line 308 of file ezwizardbase.php.
Referenced by attribute().
| & eZWizardBase::variable | ( | $ | key | ) |
Get stored wizard values.
| key |
Definition at line 271 of file ezwizardbase.php.
Return variable list.
Definition at line 297 of file ezwizardbase.php.
Referenced by attribute().
| eZWizardBase::$ErrorList = array() |
Definition at line 366 of file ezwizardbase.php.
| eZWizardBase::$HTTP |
Definition at line 372 of file ezwizardbase.php.
| eZWizardBase::$MetaData = array() |
Definition at line 379 of file ezwizardbase.php.
| eZWizardBase::$MetaDataName = '_meta' |
Definition at line 381 of file ezwizardbase.php.
| eZWizardBase::$Module |
Definition at line 374 of file ezwizardbase.php.
| eZWizardBase::$StepArray = array() |
Definition at line 388 of file ezwizardbase.php.
| eZWizardBase::$StepList = array() |
Definition at line 370 of file ezwizardbase.php.
| eZWizardBase::$StepTemplateBase = 'design:wizard/step' |
Definition at line 385 of file ezwizardbase.php.
| eZWizardBase::$StorageName = 'eZWizard' |
Definition at line 380 of file ezwizardbase.php.
| eZWizardBase::$Tpl |
Definition at line 373 of file ezwizardbase.php.
| eZWizardBase::$VariableList = array() |
Definition at line 378 of file ezwizardbase.php.
| eZWizardBase::$VariableListName = '_data' |
Definition at line 382 of file ezwizardbase.php.
| eZWizardBase::$WarningList = array() |
Definition at line 367 of file ezwizardbase.php.
| eZWizardBase::$WizardURL = '' |
Definition at line 375 of file ezwizardbase.php.
| const eZWizardBase::STAGE_POST = 1 |
Definition at line 20 of file ezwizardbase.php.
Referenced by nextStep(), and run().
| const eZWizardBase::STAGE_PRE = 0 |
Definition at line 19 of file ezwizardbase.php.
Referenced by initialize(), nextStep(), previousStep(), and run().