Documentation TYPO3 par Ameos

SC_wizard_table Class Reference

List of all members.

Public Member Functions

 init ()
 main ()
 printContent ()
 tableWizard ()
 getConfigCode ($row)
 getTableHTML ($cfgArr, $row)
 changeFunc ()
 cfgArray2CfgString ($cfgArr)
 cfgString2CfgArray ($cfgStr, $cols)

Public Attributes

 $doc
 $content
 $include_once = array()
 $inputStyle = 0
 $xmlStorage = 0
 $numNewRows = 1
 $colsFieldName = 'cols'
 $P
 $TABLECFG
 $tableParsing_quote
 $tableParsing_delimiter

Detailed Description

Definition at line 84 of file wizard_table.php.


Member Function Documentation

SC_wizard_table::init (  ) 

Initialization of the class

Returns:
void

Definition at line 116 of file wizard_table.php.

References t3lib_div::_GP(), t3lib_div::getIndpEnv(), t3lib_div::intInRange(), and t3lib_div::makeInstance().

SC_wizard_table::main (  ) 

Main function, rendering the table wizard

Returns:
void

Definition at line 161 of file wizard_table.php.

References tableWizard().

SC_wizard_table::printContent (  ) 

Outputting the accumulated content to screen

Returns:
void

Definition at line 176 of file wizard_table.php.

SC_wizard_table::tableWizard (  ) 

Draws the table wizard content

Returns:
string HTML content for the form.

Definition at line 187 of file wizard_table.php.

References $content, getConfigCode(), t3lib_BEfunc::getRecord(), getTableHTML(), and t3lib_BEfunc::typo3PrintError().

Referenced by main().

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

Parameters:
array Current parent record row
Returns:
array Table config code in an array private

Definition at line 226 of file wizard_table.php.

References t3lib_div::array2xml_cs(), cfgArray2CfgString(), cfgString2CfgArray(), changeFunc(), t3lib_div::locationHeaderUrl(), t3lib_div::makeInstance(), and t3lib_div::xml2array().

Referenced by tableWizard().

SC_wizard_table::getTableHTML ( cfgArr,
row 
)

Creates the HTML for the Table Wizard:

Parameters:
array Table config array
array Current parent record array
Returns:
string HTML for the table wizard private

Definition at line 299 of file wizard_table.php.

References $content, and t3lib_BEfunc::cshItem().

Referenced by tableWizard().

SC_wizard_table::changeFunc (  ) 

Detects if a control button (up/down/around/delete) has been pressed for an item and accordingly it will manipulate the internal TABLECFG array

Returns:
void private

Definition at line 456 of file wizard_table.php.

References t3lib_div::testInt().

Referenced by getConfigCode().

SC_wizard_table::cfgArray2CfgString ( cfgArr  ) 

Converts the input array to a configuration code string

Parameters:
array Array of table configuration (follows the input structure from the table wizard POST form)
Returns:
string The array converted into a string with line-based configuration.
See also:
cfgString2CfgArray()

Definition at line 578 of file wizard_table.php.

Referenced by getConfigCode().

SC_wizard_table::cfgString2CfgArray ( cfgStr,
cols 
)

Converts the input configuration code string into an array

Parameters:
string Configuration code
integer Default number of columns
Returns:
array Configuration array
See also:
cfgArray2CfgString()

Definition at line 609 of file wizard_table.php.

Referenced by getConfigCode().


The documentation for this class was generated from the following file:


Généré par Le spécialiste TYPO3 avec  doxygen 1.4.6