@@ -54,6 +54,9 @@ |
||
| 54 | 54 | return $this; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | + /** |
|
| 58 | + * @param integer $id |
|
| 59 | + */ |
|
| 57 | 60 | public function whereId($id) |
| 58 | 61 | { |
| 59 | 62 | return parent::andWhere(['c.obj_id' => $id]); |
@@ -10,8 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace hiam\mrdp\storage; |
| 12 | 12 | |
| 13 | -use yii\db\Query; |
|
| 14 | - |
|
| 15 | 13 | class ClientQuery extends \yii\db\ActiveQuery |
| 16 | 14 | { |
| 17 | 15 | public function init() |
@@ -119,6 +119,9 @@ |
||
| 119 | 119 | return $this->_again; |
| 120 | 120 | } |
| 121 | 121 | |
| 122 | + /** |
|
| 123 | + * @param string $prop |
|
| 124 | + */ |
|
| 122 | 125 | public function saveValue($prop, $value) |
| 123 | 126 | { |
| 124 | 127 | $params = [ |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | namespace hiam\mrdp\storage; |
| 12 | 12 | |
| 13 | 13 | use Yii; |
| 14 | -use yii\base\InvalidConfigException; |
|
| 15 | 14 | use yii\db\Exception; |
| 16 | 15 | use yii\db\Expression; |
| 17 | 16 | |