@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | * needs to be orverlayed with a record, that has the field 'tx_languagevisibility_inheritanceflag_overlayed' |
| 150 | 150 | * configured or is the first element of the rootline |
| 151 | 151 | * |
| 152 | - * @param tx_languagevisibility_element $element |
|
| 152 | + * @param Element $element |
|
| 153 | 153 | * @param $language |
| 154 | 154 | * @return array $elements (collection of tx_languagevisibility_element) |
| 155 | 155 | */ |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | * |
| 190 | 190 | * @todo The rooline can be build in a smarter way, once the rootline for a page has been created |
| 191 | 191 | * same parts of the rootline not have to be calculated twice. |
| 192 | - * @param $uid |
|
| 192 | + * @param string $uid |
|
| 193 | 193 | * @param $languageid |
| 194 | 194 | * @return array |
| 195 | 195 | * @internal param \The $integer page uid for which to seek back to the page tree root. |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | |
| 290 | 290 | /** |
| 291 | 291 | * Gets instance depending on TYPO3 version |
| 292 | - * @param $name name of the class |
|
| 292 | + * @param string $name name of the class |
|
| 293 | 293 | * @param array $row row that is used to initialaze element instance |
| 294 | 294 | * @return tx_languagevisibility_element |
| 295 | 295 | */ |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | /** |
| 93 | 93 | * Returns the fallback order for this language for elements |
| 94 | 94 | * |
| 95 | - * @param tx_languagevisibility_element $contextElement |
|
| 95 | + * @param Element $contextElement |
|
| 96 | 96 | * @return array |
| 97 | 97 | */ |
| 98 | 98 | public function getFallbackOrderElement(Element $contextElement) { |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | /** |
| 113 | 113 | * Returns the fallback order for news elements as array |
| 114 | 114 | * |
| 115 | - * @param tx_languagevisibility_element $contextElement |
|
| 115 | + * @param Element $contextElement |
|
| 116 | 116 | * @return array |
| 117 | 117 | */ |
| 118 | 118 | public function getFallbackOrderTTNewsElement(Element $contextElement) { |
@@ -131,9 +131,9 @@ discard block |
||
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | 133 | * |
| 134 | - * @param unknown_type $key |
|
| 134 | + * @param string $key |
|
| 135 | 135 | * @param unknown_type $fallbackorder |
| 136 | - * @param tx_languagevisibility_element $contextElement |
|
| 136 | + * @param Element $contextElement |
|
| 137 | 137 | * @return array |
| 138 | 138 | */ |
| 139 | 139 | protected function triggerFallbackHooks($key, $fallbackorder, Element $contextElement) { |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | /** |
| 171 | 171 | * Method to read the defaultVisibility setting of pages. |
| 172 | 172 | * |
| 173 | - * @param tx_languagevisibility_element $contextElement |
|
| 173 | + * @param Element $contextElement |
|
| 174 | 174 | * @return string |
| 175 | 175 | */ |
| 176 | 176 | public function getDefaultVisibilityForPage(Element $contextElement) { |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | /** |
| 181 | 181 | * Method to read the defaultVisibility for elements |
| 182 | 182 | * |
| 183 | - * @param tx_languagevisibility_element $contextElement |
|
| 183 | + * @param Element $contextElement |
|
| 184 | 184 | * @return string |
| 185 | 185 | */ |
| 186 | 186 | public function getDefaultVisibilityForElement(Element $contextElement) { |
@@ -462,7 +462,7 @@ |
||
| 462 | 462 | } |
| 463 | 463 | |
| 464 | 464 | /** |
| 465 | - * @return mixed |
|
| 465 | + * @return integer |
|
| 466 | 466 | */ |
| 467 | 467 | protected static function _guessCurrentPid() { |
| 468 | 468 | return \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'); |
@@ -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 tx_languagevisibility_element |
| 80 | 80 | */ |
| 81 | 81 | public static function getElement($uid, $table) { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | 91 | * @param $element |
| 92 | - * @param $lUid |
|
| 92 | + * @param integer $lUid |
|
| 93 | 93 | * @return mixed |
| 94 | 94 | */ |
| 95 | 95 | public static function getOverlayLanguageIdForElement($element, $lUid) { |