@@ -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()  | 
                                                        
@@ -152,6 +152,9 @@  | 
                                                    ||
| 152 | 152 |          return self::getDb()->createCommand("SELECT get_value(:id,:prop)", $params)->queryScalar(); | 
                                                        
| 153 | 153 | }  | 
                                                        
| 154 | 154 | |
| 155 | + /**  | 
                                                        |
| 156 | + * @param string $prop  | 
                                                        |
| 157 | + */  | 
                                                        |
| 155 | 158 | public function saveValue($prop, $value)  | 
                                                        
| 156 | 159 |      { | 
                                                        
| 157 | 160 | $params = [  |