@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | /** |
358 | 358 | * Information extractor for col relations path |
359 | 359 | * |
360 | - * @param string|array $info |
|
360 | + * @param string $info |
|
361 | 361 | * @return array |
362 | 362 | */ |
363 | 363 | public static function parseColRecursion($info) |
@@ -433,7 +433,7 @@ discard block |
||
433 | 433 | * Generate params string for col by name |
434 | 434 | * |
435 | 435 | * @param string $colName |
436 | - * @return boolean|string |
|
436 | + * @return false|string |
|
437 | 437 | */ |
438 | 438 | public static function genColParams($colName) |
439 | 439 | { |
@@ -573,7 +573,7 @@ discard block |
||
573 | 573 | /** |
574 | 574 | * return relations list |
575 | 575 | * |
576 | - * @return array |
|
576 | + * @return string |
|
577 | 577 | */ |
578 | 578 | public static function relations() |
579 | 579 | { |
@@ -1065,7 +1065,7 @@ discard block |
||
1065 | 1065 | * |
1066 | 1066 | * @param array $params |
1067 | 1067 | * @param array $where |
1068 | - * @return boolean |
|
1068 | + * @return false|null |
|
1069 | 1069 | */ |
1070 | 1070 | public static function update($params, $where = []) |
1071 | 1071 | { |
@@ -329,6 +329,9 @@ |
||
329 | 329 | return $rows; |
330 | 330 | } |
331 | 331 | |
332 | + /** |
|
333 | + * @param DataManager $dataManager |
|
334 | + */ |
|
332 | 335 | public static function drawCol($item, $colName, $params = [], $dataManager = null, $originalCol = '', $originalItem = null) |
333 | 336 | { |
334 | 337 | $modelName = get_class($item); |
@@ -132,7 +132,7 @@ |
||
132 | 132 | * Get installed modules for app |
133 | 133 | * |
134 | 134 | * @param \App $app |
135 | - * @param boolean|\App $primary |
|
135 | + * @param App $primary |
|
136 | 136 | * @return array |
137 | 137 | */ |
138 | 138 | public static function getInstalled($app, $primary = false) |
@@ -116,6 +116,9 @@ discard block |
||
116 | 116 | } |
117 | 117 | } |
118 | 118 | |
119 | + /** |
|
120 | + * @param string $user_mail |
|
121 | + */ |
|
119 | 122 | public function passre($user_mail) { |
120 | 123 | $user = $this->get($user_mail, 'mail'); |
121 | 124 | if (!$user) { |
@@ -400,6 +403,9 @@ discard block |
||
400 | 403 | return $return; |
401 | 404 | } |
402 | 405 | |
406 | + /** |
|
407 | + * @param integer $cat_id |
|
408 | + */ |
|
403 | 409 | public function addUserActivity($user_id, $cat_id, $text = '') { |
404 | 410 | $ua = new Users\Activity([ |
405 | 411 | 'user_id' => $user_id, |
@@ -11,6 +11,10 @@ |
||
11 | 11 | |
12 | 12 | function indexAction() { |
13 | 13 | |
14 | + /** |
|
15 | + * @param DOMDocument $xml |
|
16 | + * @param string $nodeName |
|
17 | + */ |
|
14 | 18 | function addToXml($xml, $parent, $nodeName, $text) { |
15 | 19 | $node = $parent->appendChild($xml->createElement($nodeName)); |
16 | 20 | $node->appendChild($xml->createTextNode($text)); |