@@ -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 |
@@ -80,7 +80,7 @@ |
||
80 | 80 | * |
81 | 81 | * @internal intended for module developers only |
82 | 82 | * |
83 | - * @return int|false count of bytes written or false on error |
|
83 | + * @return null|false count of bytes written or false on error |
|
84 | 84 | */ |
85 | 85 | public function saveCurrentSchema() |
86 | 86 | { |
@@ -479,6 +479,11 @@ |
||
479 | 479 | trigger_error("Smarty error: $error_msg", $error_type); |
480 | 480 | } |
481 | 481 | |
482 | + /** |
|
483 | + * @param string $function |
|
484 | + * @param string $file |
|
485 | + * @param integer $line |
|
486 | + */ |
|
482 | 487 | protected function deprecated($function, $file, $line) |
483 | 488 | { |
484 | 489 | $xoops = \Xoops::getInstance(); |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * @deprecated |
62 | 62 | * @param string $name handler name |
63 | 63 | * @param bool $optional is this optional, causes error if false and no handler is available |
64 | - * @return XoopsObjectHandler|XoopsPersistableObjectHandler|null |
|
64 | + * @return Xoops\Core\Kernel\XoopsObjectHandler|null |
|
65 | 65 | */ |
66 | 66 | function xoops_getHandler($name, $optional = false) |
67 | 67 | { |
@@ -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 | { |
@@ -34,6 +34,9 @@ |
||
34 | 34 | return (bool)($value); |
35 | 35 | } |
36 | 36 | |
37 | + /** |
|
38 | + * @param string $sql |
|
39 | + */ |
|
37 | 40 | function query($sql) |
38 | 41 | { |
39 | 42 | $xoops = Xoops::getInstance(); |
@@ -81,9 +81,9 @@ |
||
81 | 81 | /** |
82 | 82 | * Get a list of imagesCategories |
83 | 83 | * |
84 | - * @param array $groups |
|
84 | + * @param integer[] $groups |
|
85 | 85 | * @param string $perm |
86 | - * @param null $display |
|
86 | + * @param integer $display |
|
87 | 87 | * @param null $storetype |
88 | 88 | * |
89 | 89 | * @return array Array of {@link ImagesImage} objects |
@@ -230,6 +230,9 @@ |
||
230 | 230 | return parent::getCount($criteria); |
231 | 231 | } |
232 | 232 | |
233 | + /** |
|
234 | + * @param integer $status |
|
235 | + */ |
|
233 | 236 | public function getPageTitle($status = null, $sort = 'content_weight ASC, content_title', $order = 'ASC') |
234 | 237 | { |
235 | 238 | $criteria = new CriteriaCompo(); |
@@ -386,6 +386,9 @@ |
||
386 | 386 | return $form; |
387 | 387 | } |
388 | 388 | |
389 | +/** |
|
390 | + * @param integer $number |
|
391 | + */ |
|
389 | 392 | function publisher_mk_chkbox($options, $number) |
390 | 393 | { |
391 | 394 | $chk = ""; |