@@ -21,6 +21,9 @@ discard block |
||
| 21 | 21 | private $end; |
| 22 | 22 | private $type; |
| 23 | 23 | |
| 24 | + /** |
|
| 25 | + * @param string $start |
|
| 26 | + */ |
|
| 24 | 27 | public function __construct($start, $end = '') |
| 25 | 28 | { |
| 26 | 29 | $this->start = $start; |
@@ -39,6 +42,9 @@ discard block |
||
| 39 | 42 | $this->end = ''; |
| 40 | 43 | } |
| 41 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $add |
|
| 47 | + */ |
|
| 42 | 48 | public function set_type($add) |
| 43 | 49 | { |
| 44 | 50 | $this->type = $add; |
@@ -455,6 +461,9 @@ discard block |
||
| 455 | 461 | |
| 456 | 462 | protected $attributes; |
| 457 | 463 | |
| 464 | + /** |
|
| 465 | + * @param string $name |
|
| 466 | + */ |
|
| 458 | 467 | public function add_top_attribute($name, $string) |
| 459 | 468 | { |
| 460 | 469 | $this->attributes[$name] = $string; |
@@ -1019,6 +1028,9 @@ discard block |
||
| 1019 | 1028 | $this->request->set_filters([]); |
| 1020 | 1029 | } |
| 1021 | 1030 | |
| 1031 | + /** |
|
| 1032 | + * @param FilterInterface $wrap |
|
| 1033 | + */ |
|
| 1022 | 1034 | protected function apply_filters($wrap) |
| 1023 | 1035 | { |
| 1024 | 1036 | for ($i = 0; $i < count($this->filters); $i++) { |
@@ -1032,6 +1044,9 @@ discard block |
||
| 1032 | 1044 | $this->sorts[] = ['name' => $name, 'direction' => $direction]; |
| 1033 | 1045 | } |
| 1034 | 1046 | |
| 1047 | + /** |
|
| 1048 | + * @param SortInterface $wrap |
|
| 1049 | + */ |
|
| 1035 | 1050 | protected function apply_sorts($wrap) |
| 1036 | 1051 | { |
| 1037 | 1052 | for ($i = 0; $i < count($this->sorts); $i++) { |
@@ -499,6 +499,10 @@ |
||
| 499 | 499 | @return |
| 500 | 500 | list of data fields ( ready to be used in SQL query ) |
| 501 | 501 | */ |
| 502 | + |
|
| 503 | + /** |
|
| 504 | + * @param DBDataWrapper $db |
|
| 505 | + */ |
|
| 502 | 506 | public function db_names_list($db) |
| 503 | 507 | { |
| 504 | 508 | $out = []; |
@@ -67,6 +67,10 @@ |
||
| 67 | 67 | self::$eventsStatic[$name][] = $method; |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $name |
|
| 72 | + * @param Connector $method |
|
| 73 | + */ |
|
| 70 | 74 | public static function trigger_static($name, $method) |
| 71 | 75 | { |
| 72 | 76 | $arg_list = func_get_args(); |
@@ -190,6 +190,9 @@ |
||
| 190 | 190 | die(); |
| 191 | 191 | } |
| 192 | 192 | |
| 193 | + /** |
|
| 194 | + * @param boolean $edit |
|
| 195 | + */ |
|
| 193 | 196 | public static function checkCSRF($edit) |
| 194 | 197 | { |
| 195 | 198 | if (self::$security_key) { |
@@ -21,6 +21,9 @@ discard block |
||
| 21 | 21 | private $end; |
| 22 | 22 | private $type; |
| 23 | 23 | |
| 24 | + /** |
|
| 25 | + * @param string $start |
|
| 26 | + */ |
|
| 24 | 27 | public function __construct($start, $end = '') |
| 25 | 28 | { |
| 26 | 29 | $this->start = $start; |
@@ -39,6 +42,9 @@ discard block |
||
| 39 | 42 | $this->end = ''; |
| 40 | 43 | } |
| 41 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $add |
|
| 47 | + */ |
|
| 42 | 48 | public function set_type($add) |
| 43 | 49 | { |
| 44 | 50 | $this->type = $add; |
@@ -455,6 +461,9 @@ discard block |
||
| 455 | 461 | |
| 456 | 462 | protected $attributes; |
| 457 | 463 | |
| 464 | + /** |
|
| 465 | + * @param string $name |
|
| 466 | + */ |
|
| 458 | 467 | public function add_top_attribute($name, $string) |
| 459 | 468 | { |
| 460 | 469 | $this->attributes[$name] = $string; |
@@ -1019,6 +1028,9 @@ discard block |
||
| 1019 | 1028 | $this->request->set_filters([]); |
| 1020 | 1029 | } |
| 1021 | 1030 | |
| 1031 | + /** |
|
| 1032 | + * @param FilterInterface $wrap |
|
| 1033 | + */ |
|
| 1022 | 1034 | protected function apply_filters($wrap) |
| 1023 | 1035 | { |
| 1024 | 1036 | for ($i = 0; $i < count($this->filters); $i++) { |
@@ -1032,6 +1044,9 @@ discard block |
||
| 1032 | 1044 | $this->sorts[] = ['name' => $name, 'direction' => $direction]; |
| 1033 | 1045 | } |
| 1034 | 1046 | |
| 1047 | + /** |
|
| 1048 | + * @param SortInterface $wrap |
|
| 1049 | + */ |
|
| 1035 | 1050 | protected function apply_sorts($wrap) |
| 1036 | 1051 | { |
| 1037 | 1052 | for ($i = 0; $i < count($this->sorts); $i++) { |
@@ -499,6 +499,10 @@ |
||
| 499 | 499 | @return |
| 500 | 500 | list of data fields ( ready to be used in SQL query ) |
| 501 | 501 | */ |
| 502 | + |
|
| 503 | + /** |
|
| 504 | + * @param DBDataWrapper $db |
|
| 505 | + */ |
|
| 502 | 506 | public function db_names_list($db) |
| 503 | 507 | { |
| 504 | 508 | $out = []; |
@@ -67,6 +67,10 @@ |
||
| 67 | 67 | self::$eventsStatic[$name][] = $method; |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $name |
|
| 72 | + * @param Connector $method |
|
| 73 | + */ |
|
| 70 | 74 | public static function trigger_static($name, $method) |
| 71 | 75 | { |
| 72 | 76 | $arg_list = func_get_args(); |
@@ -190,6 +190,9 @@ |
||
| 190 | 190 | die(); |
| 191 | 191 | } |
| 192 | 192 | |
| 193 | + /** |
|
| 194 | + * @param boolean $edit |
|
| 195 | + */ |
|
| 193 | 196 | public static function checkCSRF($edit) |
| 194 | 197 | { |
| 195 | 198 | if (self::$security_key) { |
@@ -21,6 +21,9 @@ discard block |
||
| 21 | 21 | private $end; |
| 22 | 22 | private $type; |
| 23 | 23 | |
| 24 | + /** |
|
| 25 | + * @param string $start |
|
| 26 | + */ |
|
| 24 | 27 | public function __construct($start, $end = '') |
| 25 | 28 | { |
| 26 | 29 | $this->start = $start; |
@@ -39,6 +42,9 @@ discard block |
||
| 39 | 42 | $this->end = ''; |
| 40 | 43 | } |
| 41 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $add |
|
| 47 | + */ |
|
| 42 | 48 | public function set_type($add) |
| 43 | 49 | { |
| 44 | 50 | $this->type = $add; |
@@ -455,6 +461,9 @@ discard block |
||
| 455 | 461 | |
| 456 | 462 | protected $attributes; |
| 457 | 463 | |
| 464 | + /** |
|
| 465 | + * @param string $name |
|
| 466 | + */ |
|
| 458 | 467 | public function add_top_attribute($name, $string) |
| 459 | 468 | { |
| 460 | 469 | $this->attributes[$name] = $string; |
@@ -1019,6 +1028,9 @@ discard block |
||
| 1019 | 1028 | $this->request->set_filters([]); |
| 1020 | 1029 | } |
| 1021 | 1030 | |
| 1031 | + /** |
|
| 1032 | + * @param FilterInterface $wrap |
|
| 1033 | + */ |
|
| 1022 | 1034 | protected function apply_filters($wrap) |
| 1023 | 1035 | { |
| 1024 | 1036 | for ($i = 0; $i < count($this->filters); $i++) { |
@@ -1032,6 +1044,9 @@ discard block |
||
| 1032 | 1044 | $this->sorts[] = ['name' => $name, 'direction' => $direction]; |
| 1033 | 1045 | } |
| 1034 | 1046 | |
| 1047 | + /** |
|
| 1048 | + * @param SortInterface $wrap |
|
| 1049 | + */ |
|
| 1035 | 1050 | protected function apply_sorts($wrap) |
| 1036 | 1051 | { |
| 1037 | 1052 | for ($i = 0; $i < count($this->sorts); $i++) { |