![]() |
TYPO3
7.6
|
Public Member Functions | |
__construct () | |
menuConfig () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
main () | |
printContent () | |
description ($title, $description= '') | |
renderListMenu ($items, $mainMenu=false) | |
urlInIframe ($url) | |
getModuleTemplate () | |
![]() | |
init () | |
menuConfig () | |
mergeExternalItems ($modName, $menuKey, $menuArr) | |
handleExternalFunctionValue ($MM_key= 'function', $MS_value=null) | |
getExternalItemConfig ($modName, $menuKey, $value= '') | |
checkExtObj () | |
checkSubExtObj () | |
extObjHeader () | |
extObjContent () | |
Protected Member Functions | |
generateMenu () | |
renderModuleContent () | |
renderInformationContent () | |
indexAction () | |
getButtons () | |
checkAccess ($extKey, $taskClass) | |
getUniqueKey ($string) | |
openInNewWindow () | |
getBackendUser () | |
getLanguageService () | |
![]() | |
getLanguageService () | |
getBackendUser () | |
getDatabaseConnection () | |
getPageRenderer () | |
Protected Attributes | |
$pageinfo | |
$moduleTemplate | |
$moduleName = 'user_task' | |
![]() | |
$pageRenderer = null | |
Additional Inherited Members | |
![]() | |
$MCONF = array() | |
$id | |
$CMD | |
$perms_clause | |
$MOD_MENU | |
$MOD_SETTINGS = array() | |
$modTSconfig | |
$modMenu_type = '' | |
$modMenu_dontValidateList = '' | |
$modMenu_setDefaultList = '' | |
$extClassConf | |
$content = '' | |
$doc | |
$extObj | |
This class provides a taskcenter for BE users
Definition at line 33 of file TaskModuleController.php.
__construct | ( | ) |
Initializes the Module
Definition at line 57 of file TaskModuleController.php.
References ExtensionManagementUtility\extRelPath(), TaskModuleController\getLanguageService(), and GeneralUtility\makeInstance().
|
protected |
Check the access to a task. Considered are:
string | $extKey | Extension key |
string | $taskClass | Name of the task |
Definition at line 450 of file TaskModuleController.php.
References $GLOBALS, and TaskModuleController\getBackendUser().
Referenced by TaskModuleController\indexAction(), and TaskModuleController\renderModuleContent().
description | ( | $title, | |
$description = '' |
|||
) |
Render the headline of a task including a title and an optional description.
string | $title | Title |
string | $description | Description |
Definition at line 255 of file TaskModuleController.php.
References BaseScriptClass\$content.
Referenced by TaskModuleController\renderInformationContent().
|
protected |
Generates the menu based on $this->MOD_MENU
\InvalidArgumentException |
Definition at line 94 of file TaskModuleController.php.
Referenced by TaskModuleController\main().
|
protected |
Returns the current BE user.
Definition at line 513 of file TaskModuleController.php.
References $GLOBALS.
Referenced by TaskModuleController\checkAccess(), TaskModuleController\renderInformationContent(), and TaskModuleController\renderListMenu().
|
protected |
Create the panel of buttons for submitting the form or otherwise perform operations.
Definition at line 418 of file TaskModuleController.php.
References $url, ButtonBar\BUTTON_POSITION_RIGHT, GeneralUtility\getIndpEnv(), TaskModuleController\getLanguageService(), GeneralUtility\quoteJSvalue(), and Icon\SIZE_SMALL.
Referenced by TaskModuleController\main().
|
protected |
Returns LanguageService
Definition at line 523 of file TaskModuleController.php.
References $GLOBALS.
Referenced by TaskModuleController\__construct(), TaskModuleController\getButtons(), TaskModuleController\indexAction(), TaskModuleController\main(), TaskModuleController\menuConfig(), TaskModuleController\openInNewWindow(), TaskModuleController\renderInformationContent(), and TaskModuleController\renderModuleContent().
getModuleTemplate | ( | ) |
Definition at line 531 of file TaskModuleController.php.
References TaskModuleController\$moduleTemplate.
|
protected |
Create a unique key from a string which can be used in JS for sorting Therefore '_' are replaced
string | $string | string which is used to generate the identifier |
Definition at line 486 of file TaskModuleController.php.
Referenced by TaskModuleController\indexAction(), and TaskModuleController\renderListMenu().
|
protected |
Shows an overview list of available reports.
Definition at line 362 of file TaskModuleController.php.
References BaseScriptClass\$content, $GLOBALS, TaskModuleController\checkAccess(), ExtensionManagementUtility\extRelPath(), GeneralUtility\getFileAbsFileName(), TaskModuleController\getLanguageService(), TaskModuleController\getUniqueKey(), AbstractMessage\INFO, GeneralUtility\makeInstance(), and TaskModuleController\renderListMenu().
Referenced by TaskModuleController\renderModuleContent().
main | ( | ) |
Creates the module's content. In this case it rather acts as a kind of # dispatcher redirecting requests to specific tasks.
Definition at line 146 of file TaskModuleController.php.
References TaskModuleController\generateMenu(), TaskModuleController\getButtons(), TaskModuleController\getLanguageService(), TaskModuleController\renderInformationContent(), and TaskModuleController\renderModuleContent().
Referenced by TaskModuleController\mainAction().
mainAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Injects the request object for the current request or subrequest Simply calls main() and writes the content to the response
ServerRequestInterface | $request | the current request |
ResponseInterface | $response |
Definition at line 129 of file TaskModuleController.php.
References $GLOBALS, $response, MessageInterface\getBody(), and TaskModuleController\main().
menuConfig | ( | ) |
Adds items to the ->MOD_MENU array. Used for the function menu selector.
Definition at line 73 of file TaskModuleController.php.
References TaskModuleController\getLanguageService(), BackendUtility\getModTSconfig(), BaseScriptClass\mergeExternalItems(), and BackendUtility\unsetMenuItems().
|
protected |
This method prepares the link for opening the devlog in a new window
Definition at line 498 of file TaskModuleController.php.
References BaseScriptClass\$content, $url, GeneralUtility\getIndpEnv(), TaskModuleController\getLanguageService(), GeneralUtility\quoteJSvalue(), and Icon\SIZE_SMALL.
printContent | ( | ) |
Prints out the module's HTML
Definition at line 171 of file TaskModuleController.php.
References BaseScriptClass\$content.
|
protected |
Generates the information content
Definition at line 238 of file TaskModuleController.php.
References BaseScriptClass\$content, TaskModuleController\description(), TaskModuleController\getBackendUser(), and TaskModuleController\getLanguageService().
Referenced by TaskModuleController\main().
renderListMenu | ( | $items, | |
$mainMenu = false |
|||
) |
Render a list of items as a nicely formated definition list including a link, icon, title and description. The keys of a single item are:
array | $items | List of items to be displayed in the definition list. |
bool | $mainMenu | Set it to TRUE to render the main menu |
Definition at line 279 of file TaskModuleController.php.
References BaseScriptClass\$content, BaseScriptClass\$id, elseif, PathUtility\getAbsoluteWebPath(), TaskModuleController\getBackendUser(), GeneralUtility\getFileAbsFileName(), BaseScriptClass\getPageRenderer(), and TaskModuleController\getUniqueKey().
Referenced by TaskModuleController\indexAction().
|
protected |
Generates the module content by calling the selected task
Definition at line 181 of file TaskModuleController.php.
References BaseScriptClass\$content, TaskModuleController\checkAccess(), AbstractMessage\ERROR, TaskModuleController\getLanguageService(), TaskModuleController\indexAction(), AbstractMessage\INFO, and GeneralUtility\makeInstance().
Referenced by TaskModuleController\main().
urlInIframe | ( | $url | ) |
Returns HTML code to dislay an url in an iframe at the right side of the taskcenter
string | $url | Url to display |
Definition at line 474 of file TaskModuleController.php.
References $url.
|
protected |
Definition at line 52 of file TaskModuleController.php.
|
protected |
Definition at line 45 of file TaskModuleController.php.
Referenced by TaskModuleController\getModuleTemplate().
|
protected |
Definition at line 38 of file TaskModuleController.php.