@@ -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'); |