@@ -17,8 +17,7 @@ discard block |
||
| 17 | 17 | /** |
| 18 | 18 | * ClientController |
| 19 | 19 | */ |
| 20 | -class ClientController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController |
|
| 21 | -{ |
|
| 20 | +class ClientController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { |
|
| 22 | 21 | |
| 23 | 22 | /** |
| 24 | 23 | * sysLanguageRepository |
@@ -61,8 +60,7 @@ discard block |
||
| 61 | 60 | // Page information of selected page |
| 62 | 61 | protected $pageInfo; |
| 63 | 62 | |
| 64 | - protected function initializeAction() |
|
| 65 | - { |
|
| 63 | + protected function initializeAction() { |
|
| 66 | 64 | |
| 67 | 65 | $this->selectedPageUid = (int) \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'); |
| 68 | 66 | |
@@ -76,13 +74,11 @@ discard block |
||
| 76 | 74 | ); |
| 77 | 75 | } |
| 78 | 76 | |
| 79 | - protected function getPageInfo($pageUid) |
|
| 80 | - { |
|
| 77 | + protected function getPageInfo($pageUid) { |
|
| 81 | 78 | return \TYPO3\CMS\Backend\Utility\BackendUtility::readPageAccess($pageUid, $GLOBALS['BE_USER']->getPagePermsClause(1)); |
| 82 | 79 | } |
| 83 | 80 | |
| 84 | - protected function initializeView(\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view) |
|
| 85 | - { |
|
| 81 | + protected function initializeView(\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view) { |
|
| 86 | 82 | parent::initializeView($view); |
| 87 | 83 | |
| 88 | 84 | } |
@@ -92,8 +88,7 @@ discard block |
||
| 92 | 88 | * |
| 93 | 89 | * @param \EWW\Dpf\Domain\Model\Client $newClient |
| 94 | 90 | */ |
| 95 | - public function newAction(\EWW\Dpf\Domain\Model\Client $newClient = null) |
|
| 96 | - { |
|
| 91 | + public function newAction(\EWW\Dpf\Domain\Model\Client $newClient = null) { |
|
| 97 | 92 | if ($this->isValidClientFolder()) { |
| 98 | 93 | |
| 99 | 94 | $this->addFlashMessage( |
@@ -114,8 +109,7 @@ discard block |
||
| 114 | 109 | * |
| 115 | 110 | * @param \EWW\Dpf\Domain\Model\Client $newClient |
| 116 | 111 | */ |
| 117 | - public function createAction(\EWW\Dpf\Domain\Model\Client $newClient) |
|
| 118 | - { |
|
| 112 | + public function createAction(\EWW\Dpf\Domain\Model\Client $newClient) { |
|
| 119 | 113 | |
| 120 | 114 | if ($this->isValidClientFolder()) { |
| 121 | 115 | $newClient->setPid($this->selectedPageUid); |
@@ -139,13 +133,11 @@ discard block |
||
| 139 | 133 | * default action |
| 140 | 134 | * |
| 141 | 135 | */ |
| 142 | - public function defaultAction() |
|
| 143 | - { |
|
| 136 | + public function defaultAction() { |
|
| 144 | 137 | |
| 145 | 138 | } |
| 146 | 139 | |
| 147 | - protected function isValidClientFolder() |
|
| 148 | - { |
|
| 140 | + protected function isValidClientFolder() { |
|
| 149 | 141 | |
| 150 | 142 | if (!$this->selectedPageUid) { |
| 151 | 143 | $this->addFlashMessage( |
@@ -195,8 +187,7 @@ discard block |
||
| 195 | 187 | * |
| 196 | 188 | * @param integer $storagePid |
| 197 | 189 | */ |
| 198 | - protected function addBaseInputOptionLists($storagePid) |
|
| 199 | - { |
|
| 190 | + protected function addBaseInputOptionLists($storagePid) { |
|
| 200 | 191 | |
| 201 | 192 | $iso6392b = $this->objectManager->get('EWW\\Dpf\\Configuration\\InputOption\\Iso6392b'); |
| 202 | 193 | |
@@ -16,8 +16,7 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
| 18 | 18 | |
| 19 | -abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController |
|
| 20 | -{ |
|
| 19 | +abstract class AbstractController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController { |
|
| 21 | 20 | |
| 22 | 21 | /** |
| 23 | 22 | * clientRepository |
@@ -27,8 +26,7 @@ discard block |
||
| 27 | 26 | */ |
| 28 | 27 | protected $clientRepository = null; |
| 29 | 28 | |
| 30 | - protected function initializeView(\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view) |
|
| 31 | - { |
|
| 29 | + protected function initializeView(\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view) { |
|
| 32 | 30 | parent::initializeView($view); |
| 33 | 31 | |
| 34 | 32 | if (TYPO3_MODE === 'BE') { |
@@ -55,8 +53,7 @@ discard block |
||
| 55 | 53 | * @param string $key |
| 56 | 54 | * @param string $data |
| 57 | 55 | */ |
| 58 | - public function setSessionData($key, $data) |
|
| 59 | - { |
|
| 56 | + public function setSessionData($key, $data) { |
|
| 60 | 57 | if (!empty($GLOBALS['TSFE']) && is_object($GLOBALS['TSFE'])) { |
| 61 | 58 | |
| 62 | 59 | $userGlobals = $GLOBALS['TSFE']->fe_user; |
@@ -79,8 +76,7 @@ discard block |
||
| 79 | 76 | * |
| 80 | 77 | * @return |
| 81 | 78 | */ |
| 82 | - public function getSessionData($key) |
|
| 83 | - { |
|
| 79 | + public function getSessionData($key) { |
|
| 84 | 80 | if (!empty($GLOBALS['TSFE']) && is_object($GLOBALS['TSFE'])) { |
| 85 | 81 | |
| 86 | 82 | $userGlobals = $GLOBALS['TSFE']->fe_user; |
@@ -101,8 +97,7 @@ discard block |
||
| 101 | 97 | * |
| 102 | 98 | * @return null|string |
| 103 | 99 | */ |
| 104 | - protected function getParametersSafely($parameterName) |
|
| 105 | - { |
|
| 100 | + protected function getParametersSafely($parameterName) { |
|
| 106 | 101 | if ($this->request->hasArgument($parameterName)) { |
| 107 | 102 | return $this->filterSafelyParameters($this->request->getArgument($parameterName)); |
| 108 | 103 | } |
@@ -116,8 +111,7 @@ discard block |
||
| 116 | 111 | * |
| 117 | 112 | * @return string |
| 118 | 113 | */ |
| 119 | - protected function filterSafelyParameters($param) |
|
| 120 | - { |
|
| 114 | + protected function filterSafelyParameters($param) { |
|
| 121 | 115 | if (is_array($param)) { |
| 122 | 116 | foreach ($param as $key => $item) { |
| 123 | 117 | $param[$key] = $this->filterSafelyParameters($item); |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * @var \EWW\Dpf\Domain\Repository\ClientRepository |
| 26 | 26 | * @inject |
| 27 | 27 | */ |
| 28 | - protected $clientRepository = null; |
|
| 28 | + protected $clientRepository = NULL; |
|
| 29 | 29 | |
| 30 | 30 | protected function initializeView(\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view) |
| 31 | 31 | { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | "Es wurde kein gültiger Mandantenordner ausgewählt.", |
| 42 | 42 | $messageTitle = '', |
| 43 | 43 | $severity = \TYPO3\CMS\Core\Messaging\AbstractMessage::WARNING, |
| 44 | - $storeInSession = true |
|
| 44 | + $storeInSession = TRUE |
|
| 45 | 45 | ); |
| 46 | 46 | } else { |
| 47 | 47 | $view->assign('client', $client); |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | if ($this->request->hasArgument($parameterName)) { |
| 107 | 107 | return $this->filterSafelyParameters($this->request->getArgument($parameterName)); |
| 108 | 108 | } |
| 109 | - return null; |
|
| 109 | + return NULL; |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
@@ -17,16 +17,14 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * The repository for SysLanguage |
| 19 | 19 | */ |
| 20 | -class SysLanguageRepository extends \TYPO3\CMS\Extbase\Persistence\Repository |
|
| 21 | -{ |
|
| 20 | +class SysLanguageRepository extends \TYPO3\CMS\Extbase\Persistence\Repository { |
|
| 22 | 21 | |
| 23 | 22 | /** |
| 24 | 23 | * Finds all installed languages of the TYPO3 system (usually on pid 0). |
| 25 | 24 | * |
| 26 | 25 | * @return \EWW\Dpf\Domain\Model\SysLanguage | NULL |
| 27 | 26 | */ |
| 28 | - public function findInstalledLanguages() |
|
| 29 | - { |
|
| 27 | + public function findInstalledLanguages() { |
|
| 30 | 28 | $result = $this->createQuery(); |
| 31 | 29 | $result->getQuerySettings()->setRespectStoragePage(false); |
| 32 | 30 | $result->getQuerySettings()->setReturnRawQueryResult(true); |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @var \EWW\Dpf\Domain\Model\DocumentType |
| 55 | 55 | */ |
| 56 | - protected $documentType = null; |
|
| 56 | + protected $documentType = NULL; |
|
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * objectIdentifier |
@@ -95,14 +95,14 @@ discard block |
||
| 95 | 95 | * |
| 96 | 96 | * @var boolean |
| 97 | 97 | */ |
| 98 | - protected $changed = false; |
|
| 98 | + protected $changed = FALSE; |
|
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | 101 | * valid |
| 102 | 102 | * |
| 103 | 103 | * @var boolean |
| 104 | 104 | */ |
| 105 | - protected $valid = false; |
|
| 105 | + protected $valid = FALSE; |
|
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\File> |
| 123 | 123 | * @cascade remove |
| 124 | 124 | */ |
| 125 | - protected $file = null; |
|
| 125 | + protected $file = NULL; |
|
| 126 | 126 | |
| 127 | 127 | const TRANSFER_ERROR = "ERROR"; |
| 128 | 128 | const TRANSFER_QUEUED = "QUEUED"; |
@@ -496,7 +496,7 @@ discard block |
||
| 496 | 496 | 'download' => $file->getDownload(), |
| 497 | 497 | 'archive' => $file->getArchive(), |
| 498 | 498 | 'use' => '', |
| 499 | - 'id' => null, |
|
| 499 | + 'id' => NULL, |
|
| 500 | 500 | 'hasFLocat' => ($file->getStatus() == \EWW\Dpf\Domain\Model\File::STATUS_ADDED || |
| 501 | 501 | $file->getStatus() == \EWW\Dpf\Domain\Model\File::STATUS_CHANGED), |
| 502 | 502 | ); |
@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | 'download' => $file->getDownload(), |
| 546 | 546 | 'archive' => $file->getArchive(), |
| 547 | 547 | 'use' => '', |
| 548 | - 'id' => null, |
|
| 548 | + 'id' => NULL, |
|
| 549 | 549 | 'hasFLocat' => ($file->getStatus() == \EWW\Dpf\Domain\Model\File::STATUS_ADDED || |
| 550 | 550 | $file->getStatus() == \EWW\Dpf\Domain\Model\File::STATUS_CHANGED), |
| 551 | 551 | ); |
@@ -105,7 +105,7 @@ |
||
| 105 | 105 | public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) |
| 106 | 106 | { |
| 107 | 107 | |
| 108 | - $this->inputOptions = array(); |
|
| 108 | + $this->inputOptions = array (); |
|
| 109 | 109 | |
| 110 | 110 | if ($inputOptionList) { |
| 111 | 111 | $this->inputOptions[''] = ''; |
@@ -14,8 +14,7 @@ discard block |
||
| 14 | 14 | * The TYPO3 project - inspiring people to share! |
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | -class DocumentFormField extends AbstractFormElement |
|
| 18 | -{ |
|
| 17 | +class DocumentFormField extends AbstractFormElement { |
|
| 19 | 18 | |
| 20 | 19 | protected $value; |
| 21 | 20 | |
@@ -42,13 +41,11 @@ discard block |
||
| 42 | 41 | */ |
| 43 | 42 | protected $consent; |
| 44 | 43 | |
| 45 | - public function getValue() |
|
| 46 | - { |
|
| 44 | + public function getValue() { |
|
| 47 | 45 | return $this->value; |
| 48 | 46 | } |
| 49 | 47 | |
| 50 | - public function setValue($value, $defaultValue = '') |
|
| 51 | - { |
|
| 48 | + public function setValue($value, $defaultValue = '') { |
|
| 52 | 49 | |
| 53 | 50 | $this->hasDefaultValue = !empty($defaultValue); |
| 54 | 51 | |
@@ -79,13 +76,11 @@ discard block |
||
| 79 | 76 | } |
| 80 | 77 | } |
| 81 | 78 | |
| 82 | - public function getInputField() |
|
| 83 | - { |
|
| 79 | + public function getInputField() { |
|
| 84 | 80 | return $this->inputField; |
| 85 | 81 | } |
| 86 | 82 | |
| 87 | - public function setInputField($inputField) |
|
| 88 | - { |
|
| 83 | + public function setInputField($inputField) { |
|
| 89 | 84 | $this->inputField = $inputField; |
| 90 | 85 | } |
| 91 | 86 | |
@@ -93,8 +88,7 @@ discard block |
||
| 93 | 88 | * |
| 94 | 89 | * @return array |
| 95 | 90 | */ |
| 96 | - public function getInputOptions() |
|
| 97 | - { |
|
| 91 | + public function getInputOptions() { |
|
| 98 | 92 | return $this->inputOptions; |
| 99 | 93 | } |
| 100 | 94 | |
@@ -102,8 +96,7 @@ discard block |
||
| 102 | 96 | * |
| 103 | 97 | * @param \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList |
| 104 | 98 | */ |
| 105 | - public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) |
|
| 106 | - { |
|
| 99 | + public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) { |
|
| 107 | 100 | |
| 108 | 101 | $this->inputOptions = array(); |
| 109 | 102 | |
@@ -123,8 +116,7 @@ discard block |
||
| 123 | 116 | * |
| 124 | 117 | * @return string $fillOutService |
| 125 | 118 | */ |
| 126 | - public function getFillOutService() |
|
| 127 | - { |
|
| 119 | + public function getFillOutService() { |
|
| 128 | 120 | return $this->fillOutService; |
| 129 | 121 | } |
| 130 | 122 | |
@@ -134,8 +126,7 @@ discard block |
||
| 134 | 126 | * @param string $fillOutService |
| 135 | 127 | * @return void |
| 136 | 128 | */ |
| 137 | - public function setFillOutService($fillOutService) |
|
| 138 | - { |
|
| 129 | + public function setFillOutService($fillOutService) { |
|
| 139 | 130 | $this->fillOutService = $fillOutService; |
| 140 | 131 | } |
| 141 | 132 | |
@@ -144,8 +135,7 @@ discard block |
||
| 144 | 135 | * |
| 145 | 136 | * @return boolean $consent |
| 146 | 137 | */ |
| 147 | - public function getConsent() |
|
| 148 | - { |
|
| 138 | + public function getConsent() { |
|
| 149 | 139 | return $this->consent; |
| 150 | 140 | } |
| 151 | 141 | |
@@ -155,33 +145,27 @@ discard block |
||
| 155 | 145 | * @param boolean $consent |
| 156 | 146 | * @return void |
| 157 | 147 | */ |
| 158 | - public function setConsent($consent) |
|
| 159 | - { |
|
| 148 | + public function setConsent($consent) { |
|
| 160 | 149 | $this->consent = $consent; |
| 161 | 150 | } |
| 162 | 151 | |
| 163 | - public function getHasDefaultValue() |
|
| 164 | - { |
|
| 152 | + public function getHasDefaultValue() { |
|
| 165 | 153 | return $this->hasDefaultValue; |
| 166 | 154 | } |
| 167 | 155 | |
| 168 | - public function getValidation() |
|
| 169 | - { |
|
| 156 | + public function getValidation() { |
|
| 170 | 157 | return $this->validation; |
| 171 | 158 | } |
| 172 | 159 | |
| 173 | - public function setValidation($validation) |
|
| 174 | - { |
|
| 160 | + public function setValidation($validation) { |
|
| 175 | 161 | $this->validation = $validation; |
| 176 | 162 | } |
| 177 | 163 | |
| 178 | - public function getDataType() |
|
| 179 | - { |
|
| 164 | + public function getDataType() { |
|
| 180 | 165 | return $this->dataType; |
| 181 | 166 | } |
| 182 | 167 | |
| 183 | - public function setDataType($dataType) |
|
| 184 | - { |
|
| 168 | + public function setDataType($dataType) { |
|
| 185 | 169 | $this->dataType = $dataType; |
| 186 | 170 | } |
| 187 | 171 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | protected $defaultInputOption; |
| 31 | 31 | |
| 32 | - protected $hasDefaultValue = false; |
|
| 32 | + protected $hasDefaultValue = FALSE; |
|
| 33 | 33 | |
| 34 | 34 | protected $validation; |
| 35 | 35 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * |
| 103 | 103 | * @param \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList |
| 104 | 104 | */ |
| 105 | - public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = null) |
|
| 105 | + public function setInputOptions(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList = NULL) |
|
| 106 | 106 | { |
| 107 | 107 | |
| 108 | 108 | $this->inputOptions = array(); |
@@ -17,8 +17,7 @@ discard block |
||
| 17 | 17 | /** |
| 18 | 18 | * MetadataObject |
| 19 | 19 | */ |
| 20 | -class MetadataObject extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
|
| 21 | -{ |
|
| 20 | +class MetadataObject extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity { |
|
| 22 | 21 | |
| 23 | 22 | /** |
| 24 | 23 | * name |
@@ -135,8 +134,7 @@ discard block |
||
| 135 | 134 | * |
| 136 | 135 | * @return string $name |
| 137 | 136 | */ |
| 138 | - public function getName() |
|
| 139 | - { |
|
| 137 | + public function getName() { |
|
| 140 | 138 | return $this->name; |
| 141 | 139 | } |
| 142 | 140 | |
@@ -146,8 +144,7 @@ discard block |
||
| 146 | 144 | * @param string $name |
| 147 | 145 | * @return void |
| 148 | 146 | */ |
| 149 | - public function setName($name) |
|
| 150 | - { |
|
| 147 | + public function setName($name) { |
|
| 151 | 148 | $this->name = $name; |
| 152 | 149 | } |
| 153 | 150 | |
@@ -156,8 +153,7 @@ discard block |
||
| 156 | 153 | * |
| 157 | 154 | * @return string $displayName |
| 158 | 155 | */ |
| 159 | - public function getDisplayName() |
|
| 160 | - { |
|
| 156 | + public function getDisplayName() { |
|
| 161 | 157 | return $this->displayName; |
| 162 | 158 | } |
| 163 | 159 | |
@@ -167,8 +163,7 @@ discard block |
||
| 167 | 163 | * @param string $displayName |
| 168 | 164 | * @return void |
| 169 | 165 | */ |
| 170 | - public function setDisplayName($displayName) |
|
| 171 | - { |
|
| 166 | + public function setDisplayName($displayName) { |
|
| 172 | 167 | $this->displayName = $displayName; |
| 173 | 168 | } |
| 174 | 169 | |
@@ -177,8 +172,7 @@ discard block |
||
| 177 | 172 | * |
| 178 | 173 | * @return integer $maxIteration |
| 179 | 174 | */ |
| 180 | - public function getMaxIteration() |
|
| 181 | - { |
|
| 175 | + public function getMaxIteration() { |
|
| 182 | 176 | return $this->maxIteration; |
| 183 | 177 | } |
| 184 | 178 | |
@@ -188,8 +182,7 @@ discard block |
||
| 188 | 182 | * @param integer $maxIteration |
| 189 | 183 | * @return void |
| 190 | 184 | */ |
| 191 | - public function setMaxIteration($maxIteration) |
|
| 192 | - { |
|
| 185 | + public function setMaxIteration($maxIteration) { |
|
| 193 | 186 | $this->maxIteration = $maxIteration; |
| 194 | 187 | } |
| 195 | 188 | |
@@ -198,8 +191,7 @@ discard block |
||
| 198 | 191 | * |
| 199 | 192 | * @return boolean $mandatory |
| 200 | 193 | */ |
| 201 | - public function getMandatory() |
|
| 202 | - { |
|
| 194 | + public function getMandatory() { |
|
| 203 | 195 | return $this->mandatory; |
| 204 | 196 | } |
| 205 | 197 | |
@@ -209,8 +201,7 @@ discard block |
||
| 209 | 201 | * @param boolean $mandatory |
| 210 | 202 | * @return void |
| 211 | 203 | */ |
| 212 | - public function setMandatory($mandatory) |
|
| 213 | - { |
|
| 204 | + public function setMandatory($mandatory) { |
|
| 214 | 205 | $this->mandatory = $mandatory; |
| 215 | 206 | } |
| 216 | 207 | |
@@ -219,8 +210,7 @@ discard block |
||
| 219 | 210 | * |
| 220 | 211 | * @return boolean |
| 221 | 212 | */ |
| 222 | - public function isMandatory() |
|
| 223 | - { |
|
| 213 | + public function isMandatory() { |
|
| 224 | 214 | return $this->mandatory; |
| 225 | 215 | } |
| 226 | 216 | |
@@ -229,8 +219,7 @@ discard block |
||
| 229 | 219 | * |
| 230 | 220 | * @return boolean $modsExtension |
| 231 | 221 | */ |
| 232 | - public function getModsExtension() |
|
| 233 | - { |
|
| 222 | + public function getModsExtension() { |
|
| 234 | 223 | return $this->modsExtension; |
| 235 | 224 | } |
| 236 | 225 | |
@@ -240,8 +229,7 @@ discard block |
||
| 240 | 229 | * @param boolean $modsExtension |
| 241 | 230 | * @return void |
| 242 | 231 | */ |
| 243 | - public function setModsExtension($modsExtension) |
|
| 244 | - { |
|
| 232 | + public function setModsExtension($modsExtension) { |
|
| 245 | 233 | $this->modsExtension = $modsExtension; |
| 246 | 234 | } |
| 247 | 235 | |
@@ -250,8 +238,7 @@ discard block |
||
| 250 | 238 | * |
| 251 | 239 | * @return boolean |
| 252 | 240 | */ |
| 253 | - public function isModsExtension() |
|
| 254 | - { |
|
| 241 | + public function isModsExtension() { |
|
| 255 | 242 | return $this->modsExtension; |
| 256 | 243 | } |
| 257 | 244 | |
@@ -260,8 +247,7 @@ discard block |
||
| 260 | 247 | * |
| 261 | 248 | * @return string $mapping |
| 262 | 249 | */ |
| 263 | - public function getMapping() |
|
| 264 | - { |
|
| 250 | + public function getMapping() { |
|
| 265 | 251 | return $this->mapping; |
| 266 | 252 | } |
| 267 | 253 | |
@@ -271,8 +257,7 @@ discard block |
||
| 271 | 257 | * @param string $mapping |
| 272 | 258 | * @return void |
| 273 | 259 | */ |
| 274 | - public function setMapping($mapping) |
|
| 275 | - { |
|
| 260 | + public function setMapping($mapping) { |
|
| 276 | 261 | $this->mapping = $mapping; |
| 277 | 262 | } |
| 278 | 263 | |
@@ -281,8 +266,7 @@ discard block |
||
| 281 | 266 | * |
| 282 | 267 | * @return string $relativeMapping |
| 283 | 268 | */ |
| 284 | - public function getRelativeMapping() |
|
| 285 | - { |
|
| 269 | + public function getRelativeMapping() { |
|
| 286 | 270 | $modsRegExp = "/^.*?mods:mods/i"; |
| 287 | 271 | $mapping = preg_replace($modsRegExp, "", $this->mapping); |
| 288 | 272 | return trim($mapping, " /"); |
@@ -293,8 +277,7 @@ discard block |
||
| 293 | 277 | * |
| 294 | 278 | * @return integer $inputField |
| 295 | 279 | */ |
| 296 | - public function getInputField() |
|
| 297 | - { |
|
| 280 | + public function getInputField() { |
|
| 298 | 281 | return $this->inputField; |
| 299 | 282 | } |
| 300 | 283 | |
@@ -304,8 +287,7 @@ discard block |
||
| 304 | 287 | * @param integer $inputField |
| 305 | 288 | * @return void |
| 306 | 289 | */ |
| 307 | - public function setInputField($inputField) |
|
| 308 | - { |
|
| 290 | + public function setInputField($inputField) { |
|
| 309 | 291 | $this->inputField = $inputField; |
| 310 | 292 | } |
| 311 | 293 | |
@@ -314,8 +296,7 @@ discard block |
||
| 314 | 296 | * |
| 315 | 297 | * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\EWW\Dpf\Domain\Model\MetadataObject> $metadataObject |
| 316 | 298 | */ |
| 317 | - public function getChildren() |
|
| 318 | - { |
|
| 299 | + public function getChildren() { |
|
| 319 | 300 | return null; |
| 320 | 301 | } |
| 321 | 302 | |
@@ -324,8 +305,7 @@ discard block |
||
| 324 | 305 | * |
| 325 | 306 | * @return \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList |
| 326 | 307 | */ |
| 327 | - public function getInputOptionList() |
|
| 328 | - { |
|
| 308 | + public function getInputOptionList() { |
|
| 329 | 309 | return $this->inputOptionList; |
| 330 | 310 | } |
| 331 | 311 | |
@@ -335,8 +315,7 @@ discard block |
||
| 335 | 315 | * @param \EWW\Dpf\Domain\Model\InputOptionList $inputOptionList |
| 336 | 316 | * @return void |
| 337 | 317 | */ |
| 338 | - public function setInputOptionList(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList) |
|
| 339 | - { |
|
| 318 | + public function setInputOptionList(\EWW\Dpf\Domain\Model\InputOptionList $inputOptionList) { |
|
| 340 | 319 | $this->inputOptionList = $inputOptionList; |
| 341 | 320 | } |
| 342 | 321 | |
@@ -345,8 +324,7 @@ discard block |
||
| 345 | 324 | * |
| 346 | 325 | * @return string $fillOutService |
| 347 | 326 | */ |
| 348 | - public function getFillOutService() |
|
| 349 | - { |
|
| 327 | + public function getFillOutService() { |
|
| 350 | 328 | return $this->fillOutService; |
| 351 | 329 | } |
| 352 | 330 | |
@@ -356,8 +334,7 @@ discard block |
||
| 356 | 334 | * @param string $fillOutService |
| 357 | 335 | * @return void |
| 358 | 336 | */ |
| 359 | - public function setFillOutService($fillOutService) |
|
| 360 | - { |
|
| 337 | + public function setFillOutService($fillOutService) { |
|
| 361 | 338 | $this->fillOutService = $fillOutService; |
| 362 | 339 | } |
| 363 | 340 | |
@@ -366,8 +343,7 @@ discard block |
||
| 366 | 343 | * |
| 367 | 344 | * @return boolean $backendOnly |
| 368 | 345 | */ |
| 369 | - public function getBackendOnly() |
|
| 370 | - { |
|
| 346 | + public function getBackendOnly() { |
|
| 371 | 347 | return $this->backendOnly; |
| 372 | 348 | } |
| 373 | 349 | |
@@ -377,8 +353,7 @@ discard block |
||
| 377 | 353 | * @param boolean $backendOnly |
| 378 | 354 | * @return void |
| 379 | 355 | */ |
| 380 | - public function setBackendOnly($backendOnly) |
|
| 381 | - { |
|
| 356 | + public function setBackendOnly($backendOnly) { |
|
| 382 | 357 | $this->backendOnly = $backendOnly; |
| 383 | 358 | } |
| 384 | 359 | |
@@ -387,8 +362,7 @@ discard block |
||
| 387 | 362 | * |
| 388 | 363 | * @return boolean $consent |
| 389 | 364 | */ |
| 390 | - public function getConsent() |
|
| 391 | - { |
|
| 365 | + public function getConsent() { |
|
| 392 | 366 | return $this->consent; |
| 393 | 367 | } |
| 394 | 368 | |
@@ -398,8 +372,7 @@ discard block |
||
| 398 | 372 | * @param boolean $consent |
| 399 | 373 | * @return void |
| 400 | 374 | */ |
| 401 | - public function setConsent($consent) |
|
| 402 | - { |
|
| 375 | + public function setConsent($consent) { |
|
| 403 | 376 | $this->consent = $consent; |
| 404 | 377 | } |
| 405 | 378 | |
@@ -408,8 +381,7 @@ discard block |
||
| 408 | 381 | * |
| 409 | 382 | * @return string $defaultValue |
| 410 | 383 | */ |
| 411 | - public function getDefaultValue() |
|
| 412 | - { |
|
| 384 | + public function getDefaultValue() { |
|
| 413 | 385 | return $this->defaultValue; |
| 414 | 386 | } |
| 415 | 387 | |
@@ -419,8 +391,7 @@ discard block |
||
| 419 | 391 | * @param string $defaultValue |
| 420 | 392 | * @return void |
| 421 | 393 | */ |
| 422 | - public function setDefaultValue($defaultValue) |
|
| 423 | - { |
|
| 394 | + public function setDefaultValue($defaultValue) { |
|
| 424 | 395 | $this->defaultValue = $defaultValue; |
| 425 | 396 | } |
| 426 | 397 | |
@@ -429,8 +400,7 @@ discard block |
||
| 429 | 400 | * |
| 430 | 401 | * @return string $validation |
| 431 | 402 | */ |
| 432 | - public function getValidation() |
|
| 433 | - { |
|
| 403 | + public function getValidation() { |
|
| 434 | 404 | return $this->validation; |
| 435 | 405 | } |
| 436 | 406 | |
@@ -440,8 +410,7 @@ discard block |
||
| 440 | 410 | * @param string $validation |
| 441 | 411 | * @return void |
| 442 | 412 | */ |
| 443 | - public function setValidation($validation) |
|
| 444 | - { |
|
| 413 | + public function setValidation($validation) { |
|
| 445 | 414 | $this->validation = $validation; |
| 446 | 415 | } |
| 447 | 416 | |
@@ -450,8 +419,7 @@ discard block |
||
| 450 | 419 | * |
| 451 | 420 | * @return string $dataType |
| 452 | 421 | */ |
| 453 | - public function getDataType() |
|
| 454 | - { |
|
| 422 | + public function getDataType() { |
|
| 455 | 423 | return $this->dataType; |
| 456 | 424 | } |
| 457 | 425 | |
@@ -461,8 +429,7 @@ discard block |
||
| 461 | 429 | * @param string $dataType |
| 462 | 430 | * @return void |
| 463 | 431 | */ |
| 464 | - public function setDataType($dataType) |
|
| 465 | - { |
|
| 432 | + public function setDataType($dataType) { |
|
| 466 | 433 | $this->dataType = $dataType; |
| 467 | 434 | } |
| 468 | 435 | } |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * |
| 47 | 47 | * @var boolean |
| 48 | 48 | */ |
| 49 | - protected $mandatory = false; |
|
| 49 | + protected $mandatory = FALSE; |
|
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * mapping |
@@ -84,14 +84,14 @@ discard block |
||
| 84 | 84 | * |
| 85 | 85 | * @var boolean |
| 86 | 86 | */ |
| 87 | - protected $modsExtension = false; |
|
| 87 | + protected $modsExtension = FALSE; |
|
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | 90 | * inputOptionList |
| 91 | 91 | * |
| 92 | 92 | * @var \EWW\Dpf\Domain\Model\InputOptionList |
| 93 | 93 | */ |
| 94 | - protected $inputOptionList = null; |
|
| 94 | + protected $inputOptionList = NULL; |
|
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | 97 | * fillOutService |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | * |
| 108 | 108 | * @var boolean |
| 109 | 109 | */ |
| 110 | - protected $backendOnly = false; |
|
| 110 | + protected $backendOnly = FALSE; |
|
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | 113 | * consent |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | */ |
| 317 | 317 | public function getChildren() |
| 318 | 318 | { |
| 319 | - return null; |
|
| 319 | + return NULL; |
|
| 320 | 320 | } |
| 321 | 321 | |
| 322 | 322 | /** |