Documentation TYPO3 par Ameos |
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 |
Definition at line 84 of file wizard_table.php.
SC_wizard_table::init | ( | ) |
Initialization of the class
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
Definition at line 161 of file wizard_table.php.
References tableWizard().
SC_wizard_table::printContent | ( | ) |
Outputting the accumulated content to screen
Definition at line 176 of file wizard_table.php.
SC_wizard_table::tableWizard | ( | ) |
Draws the table wizard content
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
array | Current parent record row |
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:
array | Table config array | |
array | Current parent record array |
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
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
array | Array of table configuration (follows the input structure from the table wizard POST form) |
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
string | Configuration code | |
integer | Default number of columns |
Definition at line 609 of file wizard_table.php.
Referenced by getConfigCode().