@@ -25,7 +25,7 @@ |
||
25 | 25 | * Here the branch is expanded if the current id matches the global id for the listing/new |
26 | 26 | * |
27 | 27 | * @param int $id The ID (page id) of the element |
28 | - * @return bool Returns TRUE if the IDs matches |
|
28 | + * @return integer Returns TRUE if the IDs matches |
|
29 | 29 | */ |
30 | 30 | public function expandNext($id) |
31 | 31 | { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | * Returns TRUE/FALSE if the next level for $id should be expanded - and all levels should, so we always return 1. |
78 | 78 | * |
79 | 79 | * @param int $id ID (uid) to test for (see extending classes where this is checked against session data) |
80 | - * @return bool |
|
80 | + * @return integer |
|
81 | 81 | */ |
82 | 82 | public function expandNext($id) |
83 | 83 | { |
@@ -127,16 +127,16 @@ |
||
127 | 127 | $lang = $this->getLanguageService(); |
128 | 128 | if ($this->ext_showNavTitle && isset($row['nav_title']) && trim($row['nav_title']) !== '') { |
129 | 129 | $title = '<span title="' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:title')) . ' ' |
130 | - . htmlspecialchars(trim($row['title'])) . '">' |
|
131 | - . htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['nav_title'], $titleLen)) |
|
132 | - . '</span>'; |
|
130 | + . htmlspecialchars(trim($row['title'])) . '">' |
|
131 | + . htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['nav_title'], $titleLen)) |
|
132 | + . '</span>'; |
|
133 | 133 | } else { |
134 | 134 | $title = htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['title'], $titleLen)); |
135 | 135 | if (isset($row['nav_title']) && trim($row['nav_title']) !== '') { |
136 | 136 | $title = '<span title="' |
137 | - . htmlspecialchars($lang->sL('LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.nav_title')) |
|
138 | - . ' ' . htmlspecialchars(trim($row['nav_title'])) . '">' . $title |
|
139 | - . '</span>'; |
|
137 | + . htmlspecialchars($lang->sL('LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.nav_title')) |
|
138 | + . ' ' . htmlspecialchars(trim($row['nav_title'])) . '">' . $title |
|
139 | + . '</span>'; |
|
140 | 140 | } |
141 | 141 | $title = trim($row['title']) === '' |
142 | 142 | ? '<em>[' . htmlspecialchars($lang->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.no_title')) . ']</em>' |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | * |
96 | 96 | * @param string $key The key of a view variable to set |
97 | 97 | * @param mixed $value The value of the view variable |
98 | - * @return \TYPO3\CMS\Fluid\View\AbstractTemplateView the instance of this view to allow chaining |
|
98 | + * @return BackendTemplateView the instance of this view to allow chaining |
|
99 | 99 | * @api |
100 | 100 | */ |
101 | 101 | public function assign($key, $value) |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * However, only the key "value" is accepted. |
110 | 110 | * |
111 | 111 | * @param array $values Keys and values - only a value with key "value" is considered |
112 | - * @return \TYPO3\CMS\Fluid\View\AbstractTemplateView the instance of this view to allow chaining |
|
112 | + * @return BackendTemplateView the instance of this view to allow chaining |
|
113 | 113 | * @api |
114 | 114 | */ |
115 | 115 | public function assignMultiple(array $values) |
@@ -182,7 +182,7 @@ |
||
182 | 182 | /** |
183 | 183 | * Get workspace |
184 | 184 | * |
185 | - * @return string |
|
185 | + * @return integer |
|
186 | 186 | */ |
187 | 187 | public function getWorkspaceUid() |
188 | 188 | { |
@@ -178,7 +178,7 @@ |
||
178 | 178 | * Loads data from a cache file. |
179 | 179 | * |
180 | 180 | * @param string $entryIdentifier An identifier which describes the cache entry to load |
181 | - * @return mixed The cache entry's content as a string or FALSE if the cache entry could not be loaded |
|
181 | + * @return string|false The cache entry's content as a string or FALSE if the cache entry could not be loaded |
|
182 | 182 | * @throws \InvalidArgumentException If identifier is invalid |
183 | 183 | * @api |
184 | 184 | */ |
@@ -132,7 +132,7 @@ |
||
132 | 132 | * Loads data from the cache. |
133 | 133 | * |
134 | 134 | * @param string $entryIdentifier An identifier which describes the cache entry to load |
135 | - * @return mixed The cache entry's content as a string or FALSE if the cache entry could not be loaded |
|
135 | + * @return string The cache entry's content as a string or FALSE if the cache entry could not be loaded |
|
136 | 136 | * @api |
137 | 137 | */ |
138 | 138 | public function get($entryIdentifier) |
@@ -262,7 +262,7 @@ |
||
262 | 262 | * Loads data from a cache file. |
263 | 263 | * |
264 | 264 | * @param string $entryIdentifier An identifier which describes the cache entry to load |
265 | - * @return mixed The cache entry's content as a string or FALSE if the cache entry could not be loaded |
|
265 | + * @return false|string The cache entry's content as a string or FALSE if the cache entry could not be loaded |
|
266 | 266 | * @throws \InvalidArgumentException If identifier is invalid |
267 | 267 | * @api |
268 | 268 | */ |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * Whether an offset exists |
49 | 49 | * |
50 | 50 | * @link http://php.net/manual/en/arrayaccess.offsetexists.php |
51 | - * @param mixed $offset An offset to check for. |
|
51 | + * @param string $offset An offset to check for. |
|
52 | 52 | * @return bool TRUE on success or FALSE on failure. |
53 | 53 | */ |
54 | 54 | public function offsetExists($offset) |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * Offset to retrieve |
61 | 61 | * |
62 | 62 | * @link http://php.net/manual/en/arrayaccess.offsetget.php |
63 | - * @param mixed $offset The offset to retrieve. |
|
63 | + * @param string $offset The offset to retrieve. |
|
64 | 64 | * @return mixed Can return all value types. |
65 | 65 | */ |
66 | 66 | public function offsetGet($offset) |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | * Return the key of the current element |
168 | 168 | * |
169 | 169 | * @link http://php.net/manual/en/iterator.key.php |
170 | - * @return mixed scalar on success, or null on failure. |
|
170 | + * @return string scalar on success, or null on failure. |
|
171 | 171 | */ |
172 | 172 | public function key() |
173 | 173 | { |
@@ -224,7 +224,7 @@ |
||
224 | 224 | public function toArray() |
225 | 225 | { |
226 | 226 | return array_map( |
227 | - function ($loadedExtElement) { |
|
227 | + function($loadedExtElement) { |
|
228 | 228 | return $loadedExtElement->toArray(); |
229 | 229 | }, |
230 | 230 | iterator_to_array($this) |
@@ -817,7 +817,7 @@ |
||
817 | 817 | * To ensure proper working only admin-BE_USERS in live workspace should use this function |
818 | 818 | * |
819 | 819 | * @param string $hash 32-byte hash string identifying the record from sys_refindex which you wish to change the value for |
820 | - * @param mixed $newValue Value you wish to set for reference. If NULL, the reference is removed (unless a soft-reference in which case it can only be set to a blank string). If you wish to set a database reference, use the format "[table]:[uid]". Any other case, the input value is set as-is |
|
820 | + * @param string $newValue Value you wish to set for reference. If NULL, the reference is removed (unless a soft-reference in which case it can only be set to a blank string). If you wish to set a database reference, use the format "[table]:[uid]". Any other case, the input value is set as-is |
|
821 | 821 | * @param bool $returnDataArray Return $dataArray only, do not submit it to database. |
822 | 822 | * @param bool $bypassWorkspaceAdminCheck If set, it will bypass check for workspace-zero and admin user |
823 | 823 | * @return string|bool|array FALSE (=OK), error message string or array (if $returnDataArray is set!) |