| @@ -112,7 +112,7 @@ discard block | ||
| 112 | 112 | /** | 
| 113 | 113 | * Returns the cache array for a given name space. | 
| 114 | 114 | * | 
| 115 | - * @param $namespace | |
| 115 | + * @param string $namespace | |
| 116 | 116 | * @return array | 
| 117 | 117 | */ | 
| 118 | 118 |  	public function get($namespace) { | 
| @@ -126,7 +126,7 @@ discard block | ||
| 126 | 126 | /** | 
| 127 | 127 | * Method to write content into the cache. | 
| 128 | 128 | * | 
| 129 | - * @param $namespace | |
| 129 | + * @param string $namespace | |
| 130 | 130 | * @param $content | 
| 131 | 131 | * @return void | 
| 132 | 132 | */ | 
| @@ -37,6 +37,9 @@ | ||
| 37 | 37 |  class DaoCommonStub { | 
| 38 | 38 | var $row; | 
| 39 | 39 | |
| 40 | + /** | |
| 41 | + * @param string $table | |
| 42 | + */ | |
| 40 | 43 |  	function stub_setRow($row, $table) { | 
| 41 | 44 | $this->row[$table][$row['uid']] = $row; | 
| 42 | 45 | } | 
| @@ -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 | */ | 
| @@ -124,7 +124,7 @@ discard block | ||
| 124 | 124 | * @param array Various stuff in an array | 
| 125 | 125 | * @param string path to location in flexform for current field | 
| 126 | 126 | * @param object Reference to parent object | 
| 127 | - * @return void | |
| 127 | + * @return false|null | |
| 128 | 128 | */ | 
| 129 | 129 |  	public function _hasOverlayRecordForLanguage_Inheritance_flexFormCallBack($dsArr, $dataValue, $PA, $structurePath, &$pObj) { | 
| 130 | 130 |  		if ($this->langIsoCodeForFlexFormCallback == '') { | 
| @@ -159,7 +159,7 @@ discard block | ||
| 159 | 159 | * @param array Various stuff in an array | 
| 160 | 160 | * @param string path to location in flexform for current field | 
| 161 | 161 | * @param object Reference to parent object | 
| 162 | - * @return void | |
| 162 | + * @return false|null | |
| 163 | 163 | */ | 
| 164 | 164 |  	public function _hasOverlayRecordForLanguage_Seperate_flexFormCallBack($dsArr, $dataValue, $PA, $structurePath, &$pObj) { | 
| 165 | 165 |  		if ($this->langIsoCodeForFlexFormCallback == '') { | 
| @@ -195,7 +195,7 @@ | ||
| 195 | 195 | } | 
| 196 | 196 | |
| 197 | 197 | /** | 
| 198 | - * @param $table | |
| 198 | + * @param string $table | |
| 199 | 199 | * @param $row | 
| 200 | 200 | * @param $languageId | 
| 201 | 201 | * @return mixed | 
| @@ -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) { | 
| @@ -279,6 +279,9 @@ | ||
| 279 | 279 | return $output; | 
| 280 | 280 | } | 
| 281 | 281 | |
| 282 | + /** | |
| 283 | + * @param boolean $stat | |
| 284 | + */ | |
| 282 | 285 |  	protected function _getStatusImage($stat) { | 
| 283 | 286 |  		if ($stat) { | 
| 284 | 287 | return '<img src="' . $GLOBALS['BACK_PATH'] . '../typo3conf/ext/languagevisibility/Resources/Public/Icons/ok.gif">'; | 
| @@ -146,7 +146,7 @@ discard block | ||
| 146 | 146 | /** | 
| 147 | 147 | * Returns the Uid of the Element | 
| 148 | 148 | * | 
| 149 | - * @return int | |
| 149 | + * @return string | |
| 150 | 150 | */ | 
| 151 | 151 |  	public function getUid() { | 
| 152 | 152 | return $this->row['uid']; | 
| @@ -155,7 +155,7 @@ discard block | ||
| 155 | 155 | /** | 
| 156 | 156 | * Returns the pid of the Element | 
| 157 | 157 | * | 
| 158 | - * @return int | |
| 158 | + * @return string | |
| 159 | 159 | */ | 
| 160 | 160 |  	public function getPid() { | 
| 161 | 161 | return $this->row['pid']; | 
| @@ -164,7 +164,7 @@ discard block | ||
| 164 | 164 | /** | 
| 165 | 165 | * Return the content of the title field | 
| 166 | 166 | * | 
| 167 | - * @return unknown | |
| 167 | + * @return string | |
| 168 | 168 | */ | 
| 169 | 169 |  	public function getTitle() { | 
| 170 | 170 | return $this->row['title']; | 
| @@ -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) { |