TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
TypoScriptTemplateModuleController Class Reference
Inheritance diagram for TypoScriptTemplateModuleController:
BaseScriptClass

Public Member Functions

 __construct ()
 
 init ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 printContent ()
 
 linkWrapTemplateTitle ($title, $onlyKey= '')
 
 setInPageArray (&$pArray, $rlArr, $row)
 
 renderList ($pArray, $lines=array(), $c=0)
 
- Public Member Functions inherited from BaseScriptClass
 init ()
 
 menuConfig ()
 
 mergeExternalItems ($modName, $menuKey, $menuArr)
 
 handleExternalFunctionValue ($MM_key= 'function', $MS_value=null)
 
 getExternalItemConfig ($modName, $menuKey, $value= '')
 
 checkExtObj ()
 
 checkSubExtObj ()
 
 extObjHeader ()
 
 extObjContent ()
 

Public Attributes

 $perms_clause
 
 $e
 
 $sObj
 
 $edit
 
 $textExtensions = 'html,htm,txt,css,tmpl,inc,js'
 
 $modMenu_type = ''
 
 $modMenu_dontValidateList = ''
 
 $modMenu_setDefaultList = ''
 
 $pageinfo = array()
 
 $access = false
 
- Public Attributes inherited from BaseScriptClass
 $MCONF = array()
 
 $id
 
 $CMD
 
 $perms_clause
 
 $MOD_MENU
 
 $MOD_SETTINGS = array()
 
 $modTSconfig
 
 $modMenu_type = ''
 
 $modMenu_dontValidateList = ''
 
 $modMenu_setDefaultList = ''
 
 $extClassConf
 
 $content = ''
 
 $doc
 
 $extObj
 

Protected Member Functions

 generateMenu ()
 
 getButtons ()
 
- Protected Member Functions inherited from BaseScriptClass
 getLanguageService ()
 
 getBackendUser ()
 
 getDatabaseConnection ()
 
 getPageRenderer ()
 

Protected Attributes

 $moduleName = 'web_ts'
 
 $moduleTemplate
 
- Protected Attributes inherited from BaseScriptClass
 $pageRenderer = null
 

Detailed Description

Module: TypoScript Tools

$TYPO3_CONF_VARS["MODS"]["web_ts"]["onlineResourceDir"] = Directory of default resources. Eg. "fileadmin/res/" or so.

Definition at line 38 of file TypoScriptTemplateModuleController.php.

Constructor & Destructor Documentation

__construct ( )

Member Function Documentation

generateMenu ( )
protected

Generates the menu based on $this->MOD_MENU

Returns
void
Exceptions
\InvalidArgumentException

Definition at line 265 of file TypoScriptTemplateModuleController.php.

getButtons ( )
protected

Create the panel of buttons for submitting the form or otherwise perform operations.

Returns
array All available buttons as an assoc. array

Definition at line 333 of file TypoScriptTemplateModuleController.php.

References $lang, GeneralUtility\_POST(), BackendUtility\BEgetRootLine(), ButtonBar\BUTTON_POSITION_LEFT, elseif, BaseScriptClass\getLanguageService(), Icon\SIZE_SMALL, and BackendUtility\viewOnClick().

init ( )
linkWrapTemplateTitle (   $title,
  $onlyKey = '' 
)

Wrap title for link in template

Parameters
string$title
string$onlyKey
Returns
string

Definition at line 428 of file TypoScriptTemplateModuleController.php.

mainAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Injects the request object for the current request or subrequest Then checks for module functions that have hooked in, and renders menu etc.

Parameters
ServerRequestInterface$requestthe current request
ResponseInterface$response
Returns
ResponseInterface the response with the content

Definition at line 300 of file TypoScriptTemplateModuleController.php.

References $GLOBALS, $response, BaseScriptClass\checkExtObj(), MessageInterface\getBody(), and TypoScriptTemplateModuleController\init().

printContent ( )

Print content

Returns
void
Deprecated:
since TYPO3 CMS 7, will be removed in TYPO3 CMS 8

Definition at line 322 of file TypoScriptTemplateModuleController.php.

References BaseScriptClass\$content, and GeneralUtility\logDeprecatedFunction().

renderList (   $pArray,
  $lines = array(),
  $c = 0 
)

Render the list

Parameters
array$pArray
array$lines
int$c
Returns
array

Definition at line 640 of file TypoScriptTemplateModuleController.php.

References MathUtility\canBeInterpretedAsInteger(), GeneralUtility\fixed_lgd_cs(), BackendUtility\getRecordWSOL(), GeneralUtility\linkThisScript(), and Icon\SIZE_SMALL.

setInPageArray ( $pArray,
  $rlArr,
  $row 
)

Set page in array

Parameters
array$pArray
array$rlArr
array$row
Returns
void

Definition at line 612 of file TypoScriptTemplateModuleController.php.

Member Data Documentation

$access = false

Definition at line 88 of file TypoScriptTemplateModuleController.php.

$e

Definition at line 48 of file TypoScriptTemplateModuleController.php.

$edit

Definition at line 58 of file TypoScriptTemplateModuleController.php.

$modMenu_dontValidateList = ''

Definition at line 73 of file TypoScriptTemplateModuleController.php.

$modMenu_setDefaultList = ''

Definition at line 78 of file TypoScriptTemplateModuleController.php.

$modMenu_type = ''

Definition at line 68 of file TypoScriptTemplateModuleController.php.

$moduleName = 'web_ts'
protected

Definition at line 95 of file TypoScriptTemplateModuleController.php.

$moduleTemplate
protected

Definition at line 102 of file TypoScriptTemplateModuleController.php.

$pageinfo = array()

Definition at line 83 of file TypoScriptTemplateModuleController.php.

$perms_clause

Definition at line 43 of file TypoScriptTemplateModuleController.php.

$sObj

Definition at line 53 of file TypoScriptTemplateModuleController.php.

$textExtensions = 'html,htm,txt,css,tmpl,inc,js'

Definition at line 63 of file TypoScriptTemplateModuleController.php.