TYPO3
7.6
|
Public Member Functions | |
__construct () | |
init () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
main () | |
getWizardItems () | |
wizardArray () | |
wizard_appendWizards ($wizardElements) | |
wizard_getItem ($groupKey, $itemKey, $itemConf) | |
wizard_getGroupHeader ($groupKey, $wizardGroup) | |
removeInvalidElements (&$wizardItems) | |
Public Member Functions inherited from AbstractModule | |
__construct () | |
processRequest (ServerRequestInterface $request, ResponseInterface $response) | |
Public Attributes | |
$id | |
$sys_language = 0 | |
$R_URI = '' | |
$colPos | |
$uid_pid | |
$modTSconfig = array() | |
$doc | |
$content | |
$access | |
$config | |
Protected Member Functions | |
getButtons () | |
getLanguageService () | |
getBackendUser () | |
Protected Attributes | |
$pageInfo | |
$elementWrapper | |
$onClickEvent | |
$MCONF | |
Protected Attributes inherited from AbstractModule | |
$moduleTemplate | |
$request | |
Script Class for the New Content element wizard
Definition at line 34 of file NewContentElementController.php.
__construct | ( | ) |
Constructor
Definition at line 127 of file NewContentElementController.php.
References $GLOBALS, and NewContentElementController\init().
|
protected |
Returns the current BE user.
Definition at line 589 of file NewContentElementController.php.
References $GLOBALS.
Referenced by NewContentElementController\init(), and NewContentElementController\removeInvalidElements().
|
protected |
Create the panel of buttons for submitting the form or otherwise perform operations.
Definition at line 360 of file NewContentElementController.php.
References NewContentElementController\getLanguageService(), and Icon\SIZE_SMALL.
Referenced by NewContentElementController\main().
|
protected |
Returns LanguageService
Definition at line 579 of file NewContentElementController.php.
References $GLOBALS.
Referenced by NewContentElementController\getButtons(), NewContentElementController\init(), NewContentElementController\main(), NewContentElementController\wizard_getGroupHeader(), and NewContentElementController\wizard_getItem().
getWizardItems | ( | ) |
Returns the content of wizardArray() function...
Definition at line 388 of file NewContentElementController.php.
References GeneralUtility\logDeprecatedFunction(), and NewContentElementController\wizardArray().
init | ( | ) |
Constructor, initializing internal variables.
Definition at line 139 of file NewContentElementController.php.
References NewContentElementController\$config, $GLOBALS, $lang, GeneralUtility\_GP(), NewContentElementController\getBackendUser(), NewContentElementController\getLanguageService(), BackendUtility\getModTSconfig(), BackendUtility\getPagesTSconfig(), GeneralUtility\makeInstance(), ArrayUtility\mergeRecursiveWithOverrule(), BackendUtility\readPageAccess(), and GeneralUtility\sanitizeLocalUrl().
Referenced by NewContentElementController\__construct().
main | ( | ) |
Creating the module output.
\UnexpectedValueException |
Definition at line 191 of file NewContentElementController.php.
References NewContentElementController\$content, $GLOBALS, $lang, NewContentElementController\$sys_language, StringUtility\beginsWith(), GeneralUtility\callUserFunction(), GeneralUtility\deprecationLog(), NewContentElementController\getButtons(), NewContentElementController\getLanguageService(), GeneralUtility\getUserObj(), GeneralUtility\makeInstance(), GeneralUtility\quoteJSvalue(), GeneralUtility\resolveBackPath(), and NewContentElementController\wizardArray().
Referenced by NewContentElementController\mainAction().
mainAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now
ServerRequestInterface | $request | the current request |
ResponseInterface | $response |
Definition at line 177 of file NewContentElementController.php.
References $response, MessageInterface\getBody(), and NewContentElementController\main().
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 | $wizardItems | Wizard items, passed by reference |
Definition at line 501 of file NewContentElementController.php.
References NewContentElementController\$config, $GLOBALS, GeneralUtility\explodeUrl2Array(), NewContentElementController\getBackendUser(), BackendUtility\getTCEFORM_TSconfig(), GeneralUtility\implodeArrayForUrl(), and GeneralUtility\trimExplode().
Referenced by NewContentElementController\wizardArray().
wizard_appendWizards | ( | $wizardElements | ) |
mixed | $wizardElements |
Definition at line 444 of file NewContentElementController.php.
References $GLOBALS, and GeneralUtility\makeInstance().
Referenced by NewContentElementController\wizardArray().
wizard_getGroupHeader | ( | $groupKey, | |
$wizardGroup | |||
) |
string | $groupKey | Not used |
array | $wizardGroup |
Definition at line 485 of file NewContentElementController.php.
References NewContentElementController\getLanguageService().
Referenced by NewContentElementController\wizardArray().
wizard_getItem | ( | $groupKey, | |
$itemKey, | |||
$itemConf | |||
) |
string | $groupKey | Not used |
string | $itemKey | Not used |
array | $itemConf |
Definition at line 471 of file NewContentElementController.php.
References NewContentElementController\getLanguageService().
Referenced by NewContentElementController\wizardArray().
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 400 of file NewContentElementController.php.
References NewContentElementController\removeInvalidElements(), GeneralUtility\trimExplode(), NewContentElementController\wizard_appendWizards(), NewContentElementController\wizard_getGroupHeader(), and NewContentElementController\wizard_getItem().
Referenced by NewContentElementController\getWizardItems(), and NewContentElementController\main().
$access |
Definition at line 95 of file NewContentElementController.php.
$colPos |
Definition at line 62 of file NewContentElementController.php.
$config |
Definition at line 102 of file NewContentElementController.php.
Referenced by NewContentElementController\init(), and NewContentElementController\removeInvalidElements().
$content |
Definition at line 88 of file NewContentElementController.php.
Referenced by NewContentElementController\main().
$doc |
Definition at line 81 of file NewContentElementController.php.
|
protected |
Definition at line 112 of file NewContentElementController.php.
$id |
Definition at line 41 of file NewContentElementController.php.
|
protected |
Definition at line 122 of file NewContentElementController.php.
$modTSconfig = array() |
Definition at line 74 of file NewContentElementController.php.
|
protected |
Definition at line 117 of file NewContentElementController.php.
|
protected |
Definition at line 107 of file NewContentElementController.php.
$R_URI = '' |
Definition at line 55 of file NewContentElementController.php.
$sys_language = 0 |
Definition at line 48 of file NewContentElementController.php.
Referenced by NewContentElementController\main().
$uid_pid |
Definition at line 67 of file NewContentElementController.php.