@@ -37,8 +37,8 @@ discard block |
||
| 37 | 37 | * |
| 38 | 38 | * @param array $data |
| 39 | 39 | * @param array $banUidArray |
| 40 | - * @param $spacer |
|
| 41 | - * @param TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj |
|
| 40 | + * @param boolean $spacer |
|
| 41 | + * @param \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj |
|
| 42 | 42 | * @return bool |
| 43 | 43 | */ |
| 44 | 44 | public function tslib_menu_filterMenuPagesHook(array &$data, array $banUidArray, $spacer, \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj) { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | * @param array $data |
| 56 | 56 | * @param array $banUidArray |
| 57 | 57 | * @param bool $spacer |
| 58 | - * @param TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj |
|
| 58 | + * @param \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj |
|
| 59 | 59 | * @return bool |
| 60 | 60 | */ |
| 61 | 61 | public function processFilter(array &$data, array $banUidArray, $spacer, \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject $obj) { |
@@ -58,8 +58,8 @@ discard block |
||
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | 60 | * @param $uid |
| 61 | - * @param $table |
|
| 62 | - * @param $lUid |
|
| 61 | + * @param string $table |
|
| 62 | + * @param integer $lUid |
|
| 63 | 63 | * @return mixed |
| 64 | 64 | */ |
| 65 | 65 | public static function checkVisiblityForElement($uid, $table, $lUid) { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * @param $uid |
| 78 | - * @param $table |
|
| 78 | + * @param string $table |
|
| 79 | 79 | * @return \AOE\Languagevisibility\Element |
| 80 | 80 | */ |
| 81 | 81 | public static function getElement($uid, $table) { |
@@ -88,8 +88,8 @@ discard block |
||
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | - * @param $element |
|
| 92 | - * @param $lUid |
|
| 91 | + * @param \AOE\Languagevisibility\Element $element |
|
| 92 | + * @param integer $lUid |
|
| 93 | 93 | * @return mixed |
| 94 | 94 | */ |
| 95 | 95 | public static function getOverlayLanguageIdForElement($element, $lUid) { |
@@ -102,8 +102,8 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | 104 | * @param $uid |
| 105 | - * @param $table |
|
| 106 | - * @param $lUid |
|
| 105 | + * @param string $table |
|
| 106 | + * @param integer $lUid |
|
| 107 | 107 | * @return mixed |
| 108 | 108 | */ |
| 109 | 109 | public static function getOverlayLanguageIdForElementRecord($uid, $table, $lUid) { |
@@ -129,6 +129,9 @@ |
||
| 129 | 129 | return array_combine(array_map(function($row) { return $row[3]; }, $testDataSet), $testDataSet); |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | + /** |
|
| 133 | + * @param integer $uid |
|
| 134 | + */ |
|
| 132 | 135 | protected function getContentElementRow($uid) { |
| 133 | 136 | return $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow( |
| 134 | 137 | '*', |