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 () | |
Definition at line 153 of file db_new_content_el.php.
| SC_db_new_content_el::getButtons | ( | ) | [protected] |
Create the panel of buttons for submitting the form or otherwise perform operations.
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...
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.
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.
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:
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).
| array | Wizard items, passed by reference |
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.
Definition at line 421 of file db_new_content_el.php.
References t3lib_div::makeInstance(), and removeInvalidElements().
Referenced by getWizardItems().
| 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.
1.4.7