@@ -100,9 +100,9 @@ discard block |
||
| 100 | 100 | protected function printContent() |
| 101 | 101 | { |
| 102 | 102 | $this->doc = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Template\DocumentTemplate::class); |
| 103 | - $this->doc->setModuleTemplate('EXT:' . $this->extKey . '/Resources/Private/Templates/' . Helper::getUnqualifiedClassName(get_class($this)) . '.tmpl'); |
|
| 103 | + $this->doc->setModuleTemplate('EXT:'.$this->extKey.'/Resources/Private/Templates/'.Helper::getUnqualifiedClassName(get_class($this)).'.tmpl'); |
|
| 104 | 104 | $this->doc->backPath = $GLOBALS['BACK_PATH']; |
| 105 | - $this->doc->bodyTagAdditions = 'class="ext-' . $this->extKey . '-modules"'; |
|
| 105 | + $this->doc->bodyTagAdditions = 'class="ext-'.$this->extKey.'-modules"'; |
|
| 106 | 106 | $this->doc->form = '<form action="" method="post" enctype="multipart/form-data">'; |
| 107 | 107 | // Add Javascript for function menu. |
| 108 | 108 | $this->doc->JScode .= '<script type="text/javascript">script_ended = 0;function jumpToUrl(URL) { document.location = URL; }</script>'; |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | $this->content .= $this->doc->startPage($GLOBALS['LANG']->getLL('title')); |
| 113 | 113 | // Set defaults for menu. |
| 114 | 114 | if (empty($this->markerArray['CSH'])) { |
| 115 | - $this->markerArray['CSH'] = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('_MOD_' . $GLOBALS['MCONF']['name'], 'csh'); |
|
| 115 | + $this->markerArray['CSH'] = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('_MOD_'.$GLOBALS['MCONF']['name'], 'csh'); |
|
| 116 | 116 | } |
| 117 | 117 | if (empty($this->markerArray['MOD_MENU'])) { |
| 118 | 118 | $this->markerArray['MOD_MENU'] = \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncMenu($this->id, 'SET[function]', $this->MOD_SETTINGS['function'], $this->MOD_MENU['function']); |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | */ |
| 132 | 132 | public function __construct() |
| 133 | 133 | { |
| 134 | - $GLOBALS['LANG']->includeLLFile('EXT:' . $this->extKey . '/Resources/Private/Language/' . Helper::getUnqualifiedClassName(get_class($this)) . '.xml'); |
|
| 134 | + $GLOBALS['LANG']->includeLLFile('EXT:'.$this->extKey.'/Resources/Private/Language/'.Helper::getUnqualifiedClassName(get_class($this)).'.xml'); |
|
| 135 | 135 | // Read extension configuration. |
| 136 | 136 | if (isset($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$this->extKey]) && is_array($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$this->extKey])) { |
| 137 | 137 | $this->conf = GeneralUtility::makeInstance(ExtensionConfiguration::class)->get($this->extKey); |
@@ -24,8 +24,7 @@ discard block |
||
| 24 | 24 | * @access public |
| 25 | 25 | * @abstract |
| 26 | 26 | */ |
| 27 | -abstract class AbstractModule extends \TYPO3\CMS\Backend\Module\BaseScriptClass |
|
| 28 | -{ |
|
| 27 | +abstract class AbstractModule extends \TYPO3\CMS\Backend\Module\BaseScriptClass { |
|
| 29 | 28 | public $extKey = 'dlf'; |
| 30 | 29 | public $prefixId = 'tx_dlf'; |
| 31 | 30 | |
@@ -97,8 +96,7 @@ discard block |
||
| 97 | 96 | * |
| 98 | 97 | * @return string |
| 99 | 98 | */ |
| 100 | - protected function printContent() |
|
| 101 | - { |
|
| 99 | + protected function printContent() { |
|
| 102 | 100 | $this->doc = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Template\DocumentTemplate::class); |
| 103 | 101 | $this->doc->setModuleTemplate('EXT:' . $this->extKey . '/Resources/Private/Templates/' . Helper::getUnqualifiedClassName(get_class($this)) . '.tmpl'); |
| 104 | 102 | $this->doc->backPath = $GLOBALS['BACK_PATH']; |
@@ -129,8 +127,7 @@ discard block |
||
| 129 | 127 | * |
| 130 | 128 | * @return void |
| 131 | 129 | */ |
| 132 | - public function __construct() |
|
| 133 | - { |
|
| 130 | + public function __construct() { |
|
| 134 | 131 | $GLOBALS['LANG']->includeLLFile('EXT:' . $this->extKey . '/Resources/Private/Language/' . Helper::getUnqualifiedClassName(get_class($this)) . '.xml'); |
| 135 | 132 | // Read extension configuration. |
| 136 | 133 | if (isset($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$this->extKey]) && is_array($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS'][$this->extKey])) { |