Documentation TYPO3 par Ameos

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

Detailed Description

Definition at line 153 of file db_new_content_el.php.


Member Function Documentation

SC_db_new_content_el::init (  ) 

Constructor, initializing internal variables.

Returns:
void

Definition at line 176 of file db_new_content_el.php.

References 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 212 of file db_new_content_el.php.

References t3lib_BEfunc::cshItem(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getModTSconfig(), t3lib_BEfunc::getRecordTitle(), t3lib_BEfunc::getRecordWSOL(), getWizardItems(), t3lib_div::intExplode(), and t3lib_div::makeInstance().

SC_db_new_content_el::printContent (  ) 

Print out the accumulated content:

Returns:
void

Definition at line 359 of file db_new_content_el.php.

SC_db_new_content_el::getWizardItems (  ) 

Returns the content of wizardArray() function...

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

Definition at line 388 of file db_new_content_el.php.

References wizardArray().

Referenced by main().

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 398 of file db_new_content_el.php.

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

Referenced by getWizardItems().

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 549 of file db_new_content_el.php.

References t3lib_div::explodeUrl2Array(), t3lib_BEfunc::getTCEFORM_TSconfig(), t3lib_div::implodeArrayForUrl(), t3lib_div::loadTCA(), and t3lib_div::trimExplode().

Referenced by wizardArray().


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


Généré par Les experts TYPO3 avec  doxygen 1.4.6