@@ -137,6 +137,10 @@ |
||
| 137 | 137 | return $this->createRequest($query); |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | + /** |
|
| 141 | + * @param string $action |
|
| 142 | + * @param string $table |
|
| 143 | + */ |
|
| 140 | 144 | public function createQuery($action, $table, array $options = []) |
| 141 | 145 | { |
| 142 | 146 | $class = $this->db->queryClass; |
@@ -105,6 +105,9 @@ discard block |
||
| 105 | 105 | return $rows; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param \yii\db\Connection $db |
|
| 110 | + */ |
|
| 108 | 111 | public function searchAll($db = null) |
| 109 | 112 | { |
| 110 | 113 | return $this->searchBatch($db)->getData(); |
@@ -153,6 +156,10 @@ discard block |
||
| 153 | 156 | return $this; |
| 154 | 157 | } |
| 155 | 158 | |
| 159 | + /** |
|
| 160 | + * @param string $name |
|
| 161 | + * @param boolean $value |
|
| 162 | + */ |
|
| 156 | 163 | public function addOption($name, $value) |
| 157 | 164 | { |
| 158 | 165 | if (!isset($this->options[$name])) { |