@@ -251,6 +251,7 @@ discard block |
||
| 251 | 251 | * b) edit page record: only if the record is only visible in languages where the user has access to |
| 252 | 252 | * b.1) also if the languages taht are visibile and falls back to allowed languages |
| 253 | 253 | * c) delete: same as for edit (only if user has access to all visible languages) |
| 254 | + * @param integer $id |
|
| 254 | 255 | */ |
| 255 | 256 | public static function hasUserAccessToPageRecord($id, $cmd = 'edit') { |
| 256 | 257 | if ($cmd == 'new') { |
@@ -382,7 +383,7 @@ discard block |
||
| 382 | 383 | /** |
| 383 | 384 | * returns array with the visibility options that are allowed for the current user. |
| 384 | 385 | * |
| 385 | - * @param tx_languagevisibility_language $language |
|
| 386 | + * @param Language $language |
|
| 386 | 387 | * @param bool $isOverlay |
| 387 | 388 | * @param null $element |
| 388 | 389 | * @return array |
@@ -465,7 +466,7 @@ discard block |
||
| 465 | 466 | } |
| 466 | 467 | |
| 467 | 468 | /** |
| 468 | - * @return mixed |
|
| 469 | + * @return integer |
|
| 469 | 470 | */ |
| 470 | 471 | protected static function _guessCurrentPid() { |
| 471 | 472 | return \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'); |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | 133 | * |
| 134 | - * @param unknown_type $key |
|
| 134 | + * @param string $key |
|
| 135 | 135 | * @param unknown_type $fallbackorder |
| 136 | 136 | * @param Element $contextElement |
| 137 | 137 | * @return array |
@@ -323,6 +323,7 @@ discard block |
||
| 323 | 323 | * |
| 324 | 324 | * @param int uid |
| 325 | 325 | * @param Element $el |
| 326 | + * @param integer $uid |
|
| 326 | 327 | * @return boolean |
| 327 | 328 | */ |
| 328 | 329 | public function isLanguageUidInFallbackOrder($uid, Element $el) { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | * |
| 38 | 38 | * @param array $data |
| 39 | 39 | * @param array $banUidArray |
| 40 | - * @param $spacer |
|
| 40 | + * @param boolean $spacer |
|
| 41 | 41 | * @param \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj |
| 42 | 42 | * @return bool |
| 43 | 43 | */ |