Documentation TYPO3 par Ameos |
Public Member Functions | |
| init () | |
| main () | |
| printContent () | |
| formsWizard () | |
| getConfigCode (&$row) | |
| getFormHTML ($formCfgArray, $row) | |
| changeFunc () | |
| cfgArray2CfgString ($cfgArr) | |
| cfgString2CfgArray ($cfgStr) | |
| cleanT ($tArr) | |
| formatCells ($fArr) | |
Public Attributes | |
| $doc | |
| $content | |
| $include_once = array() | |
| $attachmentCounter = 0 | |
| $xmlStorage = 0 | |
| $P | |
| $FORMCFG | |
| $special | |
Definition at line 175 of file wizard_forms.php.
| SC_wizard_forms::init | ( | ) |
Initialization the class
Definition at line 203 of file wizard_forms.php.
References t3lib_div::_GP(), t3lib_div::getIndpEnv(), and t3lib_div::makeInstance().
| SC_wizard_forms::main | ( | ) |
Main function for rendering the form wizard HTML
Definition at line 242 of file wizard_forms.php.
References formsWizard().
| SC_wizard_forms::printContent | ( | ) |
Outputting the accumulated content to screen
Definition at line 257 of file wizard_forms.php.
| SC_wizard_forms::formsWizard | ( | ) |
Draws the form wizard content
Definition at line 268 of file wizard_forms.php.
References $content, getConfigCode(), getFormHTML(), t3lib_BEfunc::getRecord(), and t3lib_BEfunc::typo3PrintError().
Referenced by main().
| 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!) |
Definition at line 311 of file wizard_forms.php.
References t3lib_div::array2xml_cs(), cfgArray2CfgString(), cfgString2CfgArray(), changeFunc(), t3lib_BEfunc::getRecord(), t3lib_div::locationHeaderUrl(), t3lib_div::makeInstance(), and t3lib_div::xml2array().
Referenced by formsWizard().
| SC_wizard_forms::getFormHTML | ( | $ | formCfgArray, | |
| $ | row | |||
| ) |
Creates the HTML for the Form Wizard:
| string | Form config array | |
| array | Current parent record array |
Definition at line 382 of file wizard_forms.php.
References $content, t3lib_BEfunc::cshItem(), formatCells(), and t3lib_div::inList().
Referenced by formsWizard().
| 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
Definition at line 662 of file wizard_forms.php.
References t3lib_div::testInt().
Referenced by getConfigCode().
| 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) |
Definition at line 721 of file wizard_forms.php.
References cleanT().
Referenced by getConfigCode().
| SC_wizard_forms::cfgString2CfgArray | ( | $ | cfgStr | ) |
Converts the input configuration code string into an array
| string | Configuration code |
Definition at line 803 of file wizard_forms.php.
References $attachmentCounter, and t3lib_div::trimExplode().
Referenced by getConfigCode().
| 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 |
Definition at line 902 of file wizard_forms.php.
Referenced by cfgArray2CfgString().
| SC_wizard_forms::formatCells | ( | $ | fArr | ) |
Wraps items in $fArr in table cells/rows, displaying them vertically.
| array | Array of label/HTML pairs. |
Definition at line 920 of file wizard_forms.php.
Referenced by getFormHTML().
1.4.6