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

Detailed Description

Definition at line 84 of file wizard_table.php.


Member Function Documentation

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 562 of file wizard_table.php.

References a.

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 593 of file wizard_table.php.

References $k, and a.

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 440 of file wizard_table.php.

References $b, a, and t3lib_div::testInt().

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 219 of file wizard_table.php.

References $data, t3lib_div::array2xml(), exit, field, t3lib_div::locationHeaderUrl(), t3lib_div::makeInstance(), table, and t3lib_div::xml2array().

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 284 of file wizard_table.php.

References $content, $k, $LANG, a, t3lib_BEfunc::cshItem(), height, img, input, onclick, table, td, textarea, and value.

SC_wizard_table::init  ) 
 

Initialization of the class

Returns:
void

Definition at line 113 of file wizard_table.php.

References $BACK_PATH, t3lib_div::_GP(), t3lib_div::intInRange(), and t3lib_div::makeInstance().

SC_wizard_table::main  ) 
 

Main function, rendering the table wizard

Returns:
void

Definition at line 155 of file wizard_table.php.

References $LANG, field, and table.

SC_wizard_table::printContent  ) 
 

Outputting the accumulated content to screen

Returns:
void

Definition at line 171 of file wizard_table.php.

SC_wizard_table::tableWizard  ) 
 

Draws the table wizard content

Returns:
string HTML content for the form.

Definition at line 180 of file wizard_table.php.

References $content, $row, exit, t3lib_BEfunc::getRecord(), table, and t3lib_BEfunc::typo3PrintError().


Member Data Documentation

SC_wizard_table::$colsFieldName = 'cols'
 

Definition at line 96 of file wizard_table.php.

SC_wizard_table::$content
 

Definition at line 88 of file wizard_table.php.

SC_wizard_table::$doc
 

Definition at line 87 of file wizard_table.php.

SC_wizard_table::$include_once = array()
 

Definition at line 89 of file wizard_table.php.

SC_wizard_table::$inputStyle = 0
 

Definition at line 90 of file wizard_table.php.

SC_wizard_table::$numNewRows = 1
 

Definition at line 95 of file wizard_table.php.

SC_wizard_table::$P
 

Definition at line 100 of file wizard_table.php.

SC_wizard_table::$TABLECFG
 

Definition at line 101 of file wizard_table.php.

SC_wizard_table::$xmlStorage = 0
 

Definition at line 94 of file wizard_table.php.


The documentation for this class was generated from the following file:
Generated on Wed Aug 10 07:57:24 2005 for TYPO3 3.8.0 by  doxygen 1.4.3-20050530