Documentation TYPO3 par Ameos |
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 |
Definition at line 153 of file db_new_content_el.php.
SC_db_new_content_el::init | ( | ) |
Constructor, initializing internal variables.
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.
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:
Definition at line 359 of file db_new_content_el.php.
SC_db_new_content_el::getWizardItems | ( | ) |
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.
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).
array | Wizard items, passed by reference |
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().