SC_wizard_forms Klassenreferenz
Aufstellung aller Elemente
Dokumentation der Elementfunktionen
| SC_wizard_forms::cfgArray2CfgString |
( |
$ |
cfgArr |
) |
|
Converts the input array to a configuration code string
- Parameter:
-
| array | Array of form configuration (follows the input structure from the form wizard POST form) |
- Rückgabe:
- string The array converted into a string with line-based configuration.
- Siehe auch:
- cfgString2CfgArray()
| SC_wizard_forms::cfgString2CfgArray |
( |
$ |
cfgStr |
) |
|
Converts the input configuration code string into an array
- Parameter:
-
| string | Configuration code |
- Rückgabe:
- array Configuration array
- Siehe auch:
- cfgArray2CfgString()
| 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
- Rückgabe:
- void private
| 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)
- Parameter:
-
- Rückgabe:
- array Processed array private
| SC_wizard_forms::formatCells |
( |
$ |
fArr |
) |
|
Wraps items in $fArr in table cells/rows, displaying them vertically.
- Parameter:
-
| array | Array of label/HTML pairs. |
- Rückgabe:
- string HTML table private
| SC_wizard_forms::formsWizard |
( |
|
) |
|
Draws the form wizard content
- Rückgabe:
- string HTML content for the form.
| 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
- Parameter:
-
| array | Current parent record row (passed by value!) |
- Rückgabe:
- array Configuration Array private
| SC_wizard_forms::getFormHTML |
( |
$ |
formCfgArray, |
|
|
$ |
row | |
|
) |
| | |
Creates the HTML for the Form Wizard:
- Parameter:
-
| string | Form config array |
| array | Current parent record array |
- Rückgabe:
- string HTML for the form wizard private
| SC_wizard_forms::init |
( |
|
) |
|
Initialization the class
- Rückgabe:
- void
| SC_wizard_forms::main |
( |
|
) |
|
Main function for rendering the form wizard HTML
- Rückgabe:
- void
| SC_wizard_forms::printContent |
( |
|
) |
|
Outputting the accumulated content to screen
- Rückgabe:
- void
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
- /srv/www/vhosts/typo3.local/typo3_src-4.2.10/typo3/wizard_forms.php