SC_db_new_content_el Class Reference

List of all members.

Public Member Functions

 init ()
 main ()
 printContent ()
 getWizardItems ()
 wizardArray ()
 removeInvalidElements (&$wizardItems)

Public Attributes

 $id
 $sys_language = 0
 $R_URI = ''
 $colPos
 $uid_pid
 $modTSconfig = array()
 $doc
 $include_once = array()
 $content
 $access

Protected Member Functions

 getButtons ()

Detailed Description

Definition at line 153 of file db_new_content_el.php.


Member Function Documentation

SC_db_new_content_el::getButtons (  )  [protected]

Create the panel of buttons for submitting the form or otherwise perform operations.

Returns:
array all available buttons as an assoc. array

Definition at line 366 of file db_new_content_el.php.

References $GLOBALS, t3lib_BEfunc::cshItem(), and t3lib_iconWorks::skinImg().

Referenced by main().

SC_db_new_content_el::getWizardItems (  ) 

Returns the content of wizardArray() function...

Returns:
array Returns the content of wizardArray() function...

Definition at line 411 of file db_new_content_el.php.

References wizardArray().

Referenced by main().

SC_db_new_content_el::init (  ) 

Constructor, initializing internal variables.

Returns:
void

Definition at line 182 of file db_new_content_el.php.

References $BACK_PATH, t3lib_div::_GP(), t3lib_BEfunc::getModTSconfig(), t3lib_div::makeInstance(), and t3lib_BEfunc::readPageAccess().

SC_db_new_content_el::main (  ) 

Creating the module output.

Returns:
void

Definition at line 221 of file db_new_content_el.php.

References $BACK_PATH, $lines, $row, getButtons(), t3lib_BEfunc::getModTSconfig(), getWizardItems(), t3lib_div::intExplode(), and t3lib_div::makeInstance().

SC_db_new_content_el::printContent (  ) 

Print out the accumulated content:

Returns:
void

Definition at line 357 of file db_new_content_el.php.

SC_db_new_content_el::removeInvalidElements ( &$  wizardItems  ) 

Checks the array for elements which might contain unallowed default values and will unset them! Looks for the "tt_content_defValues" key in each element and if found it will traverse that array as fieldname / value pairs and check. The values will be added to the "params" key of the array (which should probably be unset or empty by default).

Parameters:
array Wizard items, passed by reference
Returns:
void

Definition at line 572 of file db_new_content_el.php.

References $GLOBALS, $key, $row, $TCA, t3lib_div::explodeUrl2Array(), t3lib_BEfunc::getTCEFORM_TSconfig(), t3lib_div::implodeArrayForUrl(), t3lib_div::loadTCA(), and t3lib_div::trimExplode().

Referenced by wizardArray().

SC_db_new_content_el::wizardArray (  ) 

Returns the array of elements in the wizard display. For the plugin section there is support for adding elements there from a global variable.

Returns:
array

Definition at line 421 of file db_new_content_el.php.

References t3lib_div::makeInstance(), and removeInvalidElements().

Referenced by getWizardItems().


Member Data Documentation

SC_db_new_content_el::$access

Definition at line 175 of file db_new_content_el.php.

SC_db_new_content_el::$colPos

Definition at line 159 of file db_new_content_el.php.

SC_db_new_content_el::$content

Definition at line 174 of file db_new_content_el.php.

SC_db_new_content_el::$doc

Definition at line 170 of file db_new_content_el.php.

SC_db_new_content_el::$id

Definition at line 156 of file db_new_content_el.php.

SC_db_new_content_el::$include_once = array()

Definition at line 173 of file db_new_content_el.php.

SC_db_new_content_el::$modTSconfig = array()

Definition at line 163 of file db_new_content_el.php.

SC_db_new_content_el::$R_URI = ''

Definition at line 158 of file db_new_content_el.php.

SC_db_new_content_el::$sys_language = 0

Definition at line 157 of file db_new_content_el.php.

SC_db_new_content_el::$uid_pid

Definition at line 160 of file db_new_content_el.php.


The documentation for this class was generated from the following file:
Generated on Sat Nov 29 04:23:32 2008 for TYPO3 API by  doxygen 1.4.7