|
eZ Publish
[4.2]
|
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 40 of file ezwizardbase.php.
| eZWizardBase::attribute | ( | $ | attr | ) |
Definition at line 100 of file ezwizardbase.php.
| eZWizardBase::attributes | ( | ) |
Definition at line 84 of file ezwizardbase.php.
Referenced by hasAttribute().
| eZWizardBase::cleanup | ( | ) |
Cleanup variables used during wizard
Definition at line 340 of file ezwizardbase.php.
| eZWizardBase::eZWizardBase | ( | $ | tpl, |
| &$ | module, | ||
| $ | storageName = false |
||
| ) |
Constructor
| $tpl | Template class |
| $module | Module |
| $storageName | Storage Name, optional. |
Definition at line 52 of file ezwizardbase.php.
| eZWizardBase::hasAttribute | ( | $ | attr | ) |
Definition at line 95 of file ezwizardbase.php.
| eZWizardBase::hasMetaData | ( | $ | key | ) |
Check if has metadata value
Definition at line 271 of file ezwizardbase.php.
Referenced by initialize().
| eZWizardBase::hasVariable | ( | $ | key | ) |
Check if wizard variable exists
| $key | key of the variable |
Definition at line 311 of file ezwizardbase.php.
| eZWizardBase::initialize | ( | ) |
| eZWizardBase::metaData | ( | $ | key | ) |
Get metadata
Definition at line 263 of file ezwizardbase.php.
Referenced by nextStep(), previousStep(), run(), and stepTemplate().
| eZWizardBase::nextStep | ( | ) |
| 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 211 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 197 of file ezwizardbase.php.
Referenced by run().
| eZWizardBase::previousStep | ( | ) |
| eZWizardBase::process | ( | ) |
Process the current step, and present the HTML.
Definition at line 241 of file ezwizardbase.php.
Referenced by run().
| eZWizardBase::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 154 of file ezwizardbase.php.
| eZWizardBase::savePersistentData | ( | ) |
Save persistent data
Definition at line 383 of file ezwizardbase.php.
Referenced by nextStep(), previousStep(), setMetaData(), and setVariable().
| eZWizardBase::setMetaData | ( | $ | key, |
| $ | value | ||
| ) |
Store meta data.
| key | |
| value |
Definition at line 251 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 282 of file ezwizardbase.php.
| eZWizardBase::skip | ( | ) | [private] |
Return true to skip current step. Current step will not be processed.
Definition at line 230 of file ezwizardbase.php.
Referenced by run().
| eZWizardBase::stepTemplate | ( | ) | [private] |
Get Step template name.
Definition at line 332 of file ezwizardbase.php.
Referenced by attribute().
| & eZWizardBase::variable | ( | $ | key | ) |
Get stored wizard values.
| key |
Definition at line 295 of file ezwizardbase.php.
| eZWizardBase::variableList | ( | ) |
Return variable list.
Definition at line 321 of file ezwizardbase.php.
Referenced by attribute().
| eZWizardBase::$ErrorList = array() |
Definition at line 390 of file ezwizardbase.php.
| eZWizardBase::$HTTP |
Definition at line 396 of file ezwizardbase.php.
| eZWizardBase::$MetaData = array() |
Definition at line 403 of file ezwizardbase.php.
| eZWizardBase::$MetaDataName = '_meta' |
Definition at line 405 of file ezwizardbase.php.
| eZWizardBase::$Module |
Definition at line 398 of file ezwizardbase.php.
| eZWizardBase::$StepArray = array() |
Definition at line 412 of file ezwizardbase.php.
| eZWizardBase::$StepList = array() |
Definition at line 394 of file ezwizardbase.php.
| eZWizardBase::$StepTemplateBase = 'design:wizard/step' |
Definition at line 409 of file ezwizardbase.php.
| eZWizardBase::$StorageName = 'eZWizard' |
Definition at line 404 of file ezwizardbase.php.
| eZWizardBase::$Tpl |
Definition at line 397 of file ezwizardbase.php.
| eZWizardBase::$VariableList = array() |
Definition at line 402 of file ezwizardbase.php.
| eZWizardBase::$VariableListName = '_data' |
Definition at line 406 of file ezwizardbase.php.
| eZWizardBase::$WarningList = array() |
Definition at line 391 of file ezwizardbase.php.
| eZWizardBase::$WizardURL = '' |
Definition at line 399 of file ezwizardbase.php.
| const eZWizardBase::STAGE_POST = 1 |
Definition at line 43 of file ezwizardbase.php.
Referenced by nextStep(), and run().
| const eZWizardBase::STAGE_PRE = 0 |
Definition at line 42 of file ezwizardbase.php.
Referenced by initialize(), nextStep(), previousStep(), and run().