@@ -95,7 +95,7 @@ |
||
95 | 95 | /** |
96 | 96 | * Retrieve entities from database. |
97 | 97 | * |
98 | - * @param string|array $relationID Relation entity identifier or collection |
|
98 | + * @param string $relationID Relation entity identifier or collection |
|
99 | 99 | * @param mixed $relationValue Relation entity value |
100 | 100 | * @param string $executor Query execution function name |
101 | 101 | * @return mixed[] Collection of entity instances for this relation identifier |
@@ -129,6 +129,7 @@ |
||
129 | 129 | * |
130 | 130 | * @param string $fieldName Entity field name |
131 | 131 | * @param string $fieldValue Value |
132 | + * @param string $fieldRelation |
|
132 | 133 | * @return self Chaining |
133 | 134 | */ |
134 | 135 | public function where($fieldName, $fieldValue = null, $fieldRelation = ArgumentInterface::EQUAL) |
@@ -7,7 +7,6 @@ |
||
7 | 7 | */ |
8 | 8 | namespace samsoncms\api; |
9 | 9 | |
10 | -use samson\cms\CMSGallery; |
|
11 | 10 | use samsoncms\api\MaterialField; |
12 | 11 | use samsonframework\orm\QueryInterface; |
13 | 12 |
@@ -7,7 +7,6 @@ |
||
7 | 7 | */ |
8 | 8 | namespace samsoncms\api\query; |
9 | 9 | |
10 | -use samson\activerecord\dbQuery; |
|
11 | 10 | use samsoncms\api\Field; |
12 | 11 | use samsonframework\orm\ArgumentInterface; |
13 | 12 | use samsonframework\orm\Condition; |
@@ -8,7 +8,6 @@ |
||
8 | 8 | require('generated/Structure.php'); |
9 | 9 | require('generated/StructureField.php'); |
10 | 10 | |
11 | -use samsoncms\application\GeneratorApplication; |
|
12 | 11 | use samsonframework\core\ResourcesInterface; |
13 | 12 | use samsonframework\core\SystemInterface; |
14 | 13 | use samson\activerecord\TableRelation; |
@@ -38,7 +38,7 @@ |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Make correct code formatting |
41 | - * @param $code |
|
41 | + * @param string $code |
|
42 | 42 | * @return mixed |
43 | 43 | */ |
44 | 44 | protected function formatTab($code) |
@@ -12,7 +12,6 @@ |
||
12 | 12 | use samsoncms\api\Field; |
13 | 13 | use samsoncms\api\CMS; |
14 | 14 | use samsonframework\orm\Condition; |
15 | -use samsonframework\orm\ArgumentInterface; |
|
16 | 15 | use samsonframework\orm\ConditionInterface; |
17 | 16 | |
18 | 17 | /** |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * Get current entity identifiers collection by relation identifier ans its value. |
43 | 43 | * |
44 | 44 | * @param string $relationID Relation entity identifier |
45 | - * @param mixed|Condition $relationValue Relation entity value or relation condition |
|
45 | + * @param Condition $relationValue Relation entity value or relation condition |
|
46 | 46 | * @param array $filteringIDs Collection of entity identifiers for filtering query |
47 | 47 | * @return array Collection of entity identifiers filtered by navigation identifier. |
48 | 48 | */ |