SC_wizard_forms Klassenreferenz

Aufstellung aller Elemente

Öffentliche Methoden

 init ()
 main ()
 printContent ()
 formsWizard ()
 getConfigCode (&$row)
 getFormHTML ($formCfgArray, $row)
 changeFunc ()
 cfgArray2CfgString ($cfgArr)
 cfgString2CfgArray ($cfgStr)
 cleanT ($tArr)
 formatCells ($fArr)

Öffentliche Attribute

 $doc
 $content
 $include_once = array()
 $attachmentCounter = 0
 $xmlStorage = 0
 $P
 $FORMCFG
 $special

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:
array Single dim array
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:
 Alle Klassen Namensbereiche Funktionen Variablen

Erzeugt am Wed Oct 28 16:40:22 2009 für Typo3 von  doxygen 1.6.1