@@ -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]); |
@@ -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 = [ |