Fonctions membres publiques | |
| init () | |
| main () | |
| printContent () | |
| formsWizard () | |
| getConfigCode (&$row) | |
| getFormHTML ($formCfgArray, $row) | |
| changeFunc () | |
| cfgArray2CfgString ($cfgArr) | |
| cfgString2CfgArray ($cfgStr) | |
| cleanT ($tArr) | |
| formatCells ($fArr) | |
Attributs publics | |
| $doc | |
| $content | |
| $include_once = array() | |
| $attachmentCounter = 0 | |
| $xmlStorage = 0 | |
| $P | |
| $FORMCFG | |
| $special | |
| SC_wizard_forms::init | ( | ) |
Initialization the class
| SC_wizard_forms::main | ( | ) |
Main function for rendering the form wizard HTML
| SC_wizard_forms::printContent | ( | ) |
Outputting the accumulated content to screen
| SC_wizard_forms::formsWizard | ( | ) |
Draws the form wizard content
| SC_wizard_forms::getConfigCode | ( | &$ | row | ) |
Will get and return the configuration code string Will also save (and possibly redirect/exit) the content if a save button has been pressed
| array | Current parent record row (passed by value!) |
| SC_wizard_forms::getFormHTML | ( | $ | formCfgArray, | |
| $ | row | |||
| ) |
Creates the HTML for the Form Wizard:
| string | Form config array | |
| array | Current parent record array |
| SC_wizard_forms::changeFunc | ( | ) |
Detects if a control button (up/down/around/delete) has been pressed for an item and accordingly it will manipulate the internal FORMCFG array
| SC_wizard_forms::cfgArray2CfgString | ( | $ | cfgArr | ) |
Converts the input array to a configuration code string
| array | Array of form configuration (follows the input structure from the form wizard POST form) |
| SC_wizard_forms::cfgString2CfgArray | ( | $ | cfgStr | ) |
Converts the input configuration code string into an array
| string | Configuration code |
| SC_wizard_forms::cleanT | ( | $ | tArr | ) |
Removes any "trailing elements" in the array which consists of whitespace (little like trim() does for strings, so this does for arrays)
| array | Single dim array |
| SC_wizard_forms::formatCells | ( | $ | fArr | ) |
Wraps items in $fArr in table cells/rows, displaying them vertically.
| array | Array of label/HTML pairs. |
| SC_wizard_forms::$doc |
| SC_wizard_forms::$content |
| SC_wizard_forms::$include_once = array() |
| SC_wizard_forms::$attachmentCounter = 0 |
| SC_wizard_forms::$xmlStorage = 0 |
| SC_wizard_forms::$P |
| SC_wizard_forms::$FORMCFG |
| SC_wizard_forms::$special |
1.5.3