@@ -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 | '*', |
@@ -382,7 +382,7 @@ discard block |
||
| 382 | 382 | /** |
| 383 | 383 | * returns array with the visibility options that are allowed for the current user. |
| 384 | 384 | * |
| 385 | - * @param tx_languagevisibility_language $language |
|
| 385 | + * @param Language $language |
|
| 386 | 386 | * @param bool $isOverlay |
| 387 | 387 | * @param null $element |
| 388 | 388 | * @return array |
@@ -465,7 +465,7 @@ discard block |
||
| 465 | 465 | } |
| 466 | 466 | |
| 467 | 467 | /** |
| 468 | - * @return mixed |
|
| 468 | + * @return integer |
|
| 469 | 469 | */ |
| 470 | 470 | protected static function _guessCurrentPid() { |
| 471 | 471 | return \TYPO3\CMS\Core\Utility\GeneralUtility::_GP('id'); |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | /** |
| 266 | - * @param $key |
|
| 266 | + * @param string $key |
|
| 267 | 267 | * @return mixed |
| 268 | 268 | */ |
| 269 | 269 | public function getLLL($key) { |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | * |
| 276 | 276 | * @param boolean positive or negative state |
| 277 | 277 | * @param string $title |
| 278 | - * @return html tag to include the state image |
|
| 278 | + * @return string tag to include the state image |
|
| 279 | 279 | */ |
| 280 | 280 | protected function _getStatusImage($stat, $title = '') { |
| 281 | 281 | if ($stat) { |
@@ -85,8 +85,8 @@ discard block |
||
| 85 | 85 | /** |
| 86 | 86 | * returns relevant languageid for overlay record or FALSE if element is not visible for guven language |
| 87 | 87 | * |
| 88 | - * @param tx_languagevisibility_language $language |
|
| 89 | - * @param tx_languagevisibility_element $element |
|
| 88 | + * @param Language $language |
|
| 89 | + * @param Element $element |
|
| 90 | 90 | * @return mixed |
| 91 | 91 | */ |
| 92 | 92 | function getOverlayLanguageIdForLanguageAndElement(Language $language, Element $element) { |
@@ -144,8 +144,8 @@ discard block |
||
| 144 | 144 | * Returns true or FALSE wether the element is visible in the certain language. |
| 145 | 145 | * (sets for internal access only $this->_relevantOverlayLanguageId which holds the overlay languageid) |
| 146 | 146 | * |
| 147 | - * @param tx_languagevisibility_language $language |
|
| 148 | - * @param \tx_languagevisibility_element $element |
|
| 147 | + * @param Language $language |
|
| 148 | + * @param Element $element |
|
| 149 | 149 | * @param bool $omitLocal |
| 150 | 150 | * @throws Exception |
| 151 | 151 | * @return boolean |
@@ -252,8 +252,8 @@ discard block |
||
| 252 | 252 | * if the element itself is a translated original record the element is only visible in the specific language |
| 253 | 253 | * If nothing is set the hardcoded default "t" (translated) is returned |
| 254 | 254 | * |
| 255 | - * @param tx_languagevisibility_language $language |
|
| 256 | - * @param tx_languagevisibility_element $element |
|
| 255 | + * @param Language $language |
|
| 256 | + * @param Element $element |
|
| 257 | 257 | * @param boolean |
| 258 | 258 | * @return string |
| 259 | 259 | */ |
@@ -278,8 +278,8 @@ discard block |
||
| 278 | 278 | /** |
| 279 | 279 | * This method can be used to retrieve an informal description for the visibility of an element |
| 280 | 280 | * |
| 281 | - * @param tx_languagevisibility_language $language |
|
| 282 | - * @param tx_languagevisibility_element $element |
|
| 281 | + * @param Language $language |
|
| 282 | + * @param Element $element |
|
| 283 | 283 | * @return string |
| 284 | 284 | */ |
| 285 | 285 | public function getVisibilityDescription(Language $language, Element $element) { |
@@ -288,10 +288,10 @@ discard block |
||
| 288 | 288 | |
| 289 | 289 | /** |
| 290 | 290 | * Create a visiblity object for an element for a given language. |
| 291 | - * @param tx_languagevisibility_language $language |
|
| 292 | - * @param tx_languagevisibility_element $element |
|
| 291 | + * @param Language $language |
|
| 292 | + * @param Element $element |
|
| 293 | 293 | * @param boolean $omitLocal |
| 294 | - * @return tx_languagevisibility_visibility |
|
| 294 | + * @return Visibility |
|
| 295 | 295 | */ |
| 296 | 296 | protected function getVisibility(Language $language, Element $element, $omitLocal = FALSE) { |
| 297 | 297 | $visibility = new Visibility(); |