| 1 | <?php |
||
| 16 | class PlanQuery extends \hiqdev\hiart\ActiveQuery |
||
| 17 | { |
||
| 18 | public function byId($id) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param null $db |
||
| 25 | * @return Plan|null |
||
| 26 | */ |
||
| 27 | public function one($db = null) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param null $db |
||
| 34 | * @return Plan[] |
||
| 35 | */ |
||
| 36 | public function all($db = null) |
||
| 40 | |||
| 41 | public function withPrices() |
||
| 51 | |||
| 52 | public function joinWithPrices() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return $this |
||
| 66 | */ |
||
| 67 | public function withSales() |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return $this |
||
| 78 | */ |
||
| 79 | public function withPriceHistory() |
||
| 93 | } |
||
| 94 |