@@ -74,9 +74,9 @@ discard block |
||
74 | 74 | * Method makes two requests and performs them as quick as possible |
75 | 75 | * |
76 | 76 | * @param mixed $structures Identifier of structure, or collection of them |
77 | - * @param array $materials Collection where results will be returned |
|
77 | + * @param Material[] $materials Collection where results will be returned |
|
78 | 78 | * @param string $className Class name of final result objects, must be Material ancestor |
79 | - * @param callable $handler External function to change generic query(add conditions and etc.) |
|
79 | + * @param callable $handlers External function to change generic query(add conditions and etc.) |
|
80 | 80 | * @param array $handlerParams External handler additional parameters collection to pass to handler |
81 | 81 | * |
82 | 82 | * @return bool True if materials ancestors has been found |
@@ -947,6 +947,10 @@ discard block |
||
947 | 947 | db()->query('DROP TABLE IF EXISTS ' . dbMySQLConnector::$prefix . 'scmstable'); |
948 | 948 | } |
949 | 949 | |
950 | + /** |
|
951 | + * @param string $column |
|
952 | + * @param string $structure |
|
953 | + */ |
|
950 | 954 | public function materialColumnToField($column, $structure) |
951 | 955 | { |
952 | 956 | // Find first user |
@@ -180,7 +180,6 @@ |
||
180 | 180 | /** |
181 | 181 | * Function to retrieve this material table by specified field |
182 | 182 | * @param string $tableSelector Selector to identify table structure |
183 | - * @param string $field Database field by which search is performed |
|
184 | 183 | * @param array $tableColumns Columns names list |
185 | 184 | * @param string $externalHandler External handler to perform some extra code |
186 | 185 | * @param array $params External handler params |