Solutions Open Source

Référence de la classe SC_wizard_forms

Liste de tous les membres

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


Documentation des fonctions membres

SC_wizard_forms::init (  ) 

Initialization the class

Renvoie:
void

SC_wizard_forms::main (  ) 

Main function for rendering the form wizard HTML

Renvoie:
void

SC_wizard_forms::printContent (  ) 

Outputting the accumulated content to screen

Renvoie:
void

SC_wizard_forms::formsWizard (  ) 

Draws the form wizard content

Renvoie:
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

Paramètres:
array Current parent record row (passed by value!)
Renvoie:
array Configuration Array private

SC_wizard_forms::getFormHTML ( formCfgArray,
row 
)

Creates the HTML for the Form Wizard:

Paramètres:
string Form config array
array Current parent record array
Renvoie:
string HTML for the form wizard private

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

Renvoie:
void private

SC_wizard_forms::cfgArray2CfgString ( cfgArr  ) 

Converts the input array to a configuration code string

Paramètres:
array Array of form configuration (follows the input structure from the form wizard POST form)
Renvoie:
string The array converted into a string with line-based configuration.
Voir également:
cfgString2CfgArray()

SC_wizard_forms::cfgString2CfgArray ( cfgStr  ) 

Converts the input configuration code string into an array

Paramètres:
string Configuration code
Renvoie:
array Configuration array
Voir également:
cfgArray2CfgString()

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)

Paramètres:
array Single dim array
Renvoie:
array Processed array private

SC_wizard_forms::formatCells ( fArr  ) 

Wraps items in $fArr in table cells/rows, displaying them vertically.

Paramètres:
array Array of label/HTML pairs.
Renvoie:
string HTML table private


Documentation des données membres

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


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:41:49 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3