@@ -200,8 +200,7 @@ |
||
| 200 | 200 | * Write-enable the specified file/folder |
| 201 | 201 | * @param string $path |
| 202 | 202 | * @param string $group |
| 203 | - * @param bool $recurse |
|
| 204 | - * @return false on failure, method (u-ser,g-roup,w-orld) on success |
|
| 203 | + * @return false|string on failure, method (u-ser,g-roup,w-orld) on success |
|
| 205 | 204 | */ |
| 206 | 205 | function makeWritable( $path, $group = false, $create = true ) |
| 207 | 206 | { |
@@ -184,6 +184,12 @@ |
||
| 184 | 184 | return $this->db->fetchArray($ret); |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | + /** |
|
| 188 | + * @param string $table |
|
| 189 | + * @param string $query |
|
| 190 | + * |
|
| 191 | + * @return string |
|
| 192 | + */ |
|
| 187 | 193 | function insert($table, $query) |
| 188 | 194 | { |
| 189 | 195 | $this->db->connect(); |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @return string |
|
| 49 | + * @return Xoops\Module\Helper\HelperAbstract |
|
| 50 | 50 | */ |
| 51 | 51 | public static function getInstance() |
| 52 | 52 | { |
@@ -751,6 +751,9 @@ |
||
| 751 | 751 | } |
| 752 | 752 | } |
| 753 | 753 | |
| 754 | +/** |
|
| 755 | + * @param integer $mime_value |
|
| 756 | + */ |
|
| 754 | 757 | function _changeMimeValue($mime_value) |
| 755 | 758 | { |
| 756 | 759 | if ($mime_value == 1) { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | /** |
| 71 | 71 | * get the module object |
| 72 | 72 | * |
| 73 | - * @return XoopsModule |
|
| 73 | + * @return \XoopsModule |
|
| 74 | 74 | */ |
| 75 | 75 | public function getModule() |
| 76 | 76 | { |
@@ -163,7 +163,7 @@ |
||
| 163 | 163 | /** |
| 164 | 164 | * Delete all permissions for an item and a specific name or array of names |
| 165 | 165 | * |
| 166 | - * @param string|string[] $gperm_name name(s) of the permission to delete |
|
| 166 | + * @param string $gperm_name name(s) of the permission to delete |
|
| 167 | 167 | * @param int $gperm_itemid id of the object to check |
| 168 | 168 | * |
| 169 | 169 | * @return bool true if no errors |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | /** |
| 178 | 178 | * filter to UTF-8, converts invalid $text as CP1252 and forces NFC normalization |
| 179 | 179 | * |
| 180 | - * @param mixed $text |
|
| 180 | + * @param string $text |
|
| 181 | 181 | * |
| 182 | 182 | * @return string |
| 183 | 183 | */ |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | /** |
| 204 | 204 | * XoopsLocalAbstract::trim() |
| 205 | 205 | * |
| 206 | - * @param mixed $text |
|
| 206 | + * @param string $text |
|
| 207 | 207 | * |
| 208 | 208 | * @return string |
| 209 | 209 | */ |
@@ -329,8 +329,8 @@ discard block |
||
| 329 | 329 | /** |
| 330 | 330 | * The default tag handler method for a tag with no handler |
| 331 | 331 | * |
| 332 | - * @param $parser |
|
| 333 | - * @param $tagName |
|
| 332 | + * @param integer $parser |
|
| 333 | + * @param string $tagName |
|
| 334 | 334 | * @param $attributesArray |
| 335 | 335 | * @return void |
| 336 | 336 | */ |
@@ -341,8 +341,8 @@ discard block |
||
| 341 | 341 | /** |
| 342 | 342 | * The default tag handler method for a tag with no handler |
| 343 | 343 | * |
| 344 | - * @param $parser |
|
| 345 | - * @param $tagName |
|
| 344 | + * @param integer $parser |
|
| 345 | + * @param string $tagName |
|
| 346 | 346 | * @return void |
| 347 | 347 | */ |
| 348 | 348 | public function handleEndElementDefault($parser, $tagName) |
@@ -354,8 +354,8 @@ discard block |
||
| 354 | 354 | * |
| 355 | 355 | * @abstract |
| 356 | 356 | * |
| 357 | - * @param $parser |
|
| 358 | - * @param $data |
|
| 357 | + * @param integer $parser |
|
| 358 | + * @param string $data |
|
| 359 | 359 | * @return void |
| 360 | 360 | */ |
| 361 | 361 | public function handleCharacterDataDefault($parser, $data) |
@@ -687,7 +687,7 @@ |
||
| 687 | 687 | * Additional custom filters can be specified for the named asset if needed. |
| 688 | 688 | * |
| 689 | 689 | * @param string $name the name of the reference to be added |
| 690 | - * @param mixed $assets a string asset path, or an array of asset paths, may include wildcard |
|
| 690 | + * @param string $assets a string asset path, or an array of asset paths, may include wildcard |
|
| 691 | 691 | * @param string $filters comma separated list of filters |
| 692 | 692 | * |
| 693 | 693 | * @return boolean true if asset registers, false on error |