Blame view

models/CategoryQuery.php 765 Bytes
2f25da09   Yarik   first commit
1
2
3
4
  <?php

      

      namespace artweb\artbox\ecommerce\models;

      

8a7e6ecf   Yarik   Namespaces
5
      use artweb\artbox\components\artboxtree\ArtboxTreeQueryTrait;

2f25da09   Yarik   first commit
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
      use yii\db\ActiveQuery;

      

      /**

       * This is the ActiveQuery class for [[Category]].

       *

       * @see Category

       */

      class CategoryQuery extends ActiveQuery

      {

          use ArtboxTreeQueryTrait;

          

          /**

           * @inheritdoc

           * @return Category[]|array

           */

          public function all($db = null)

          {

              return parent::all($db);

          }

          

          /**

           * @inheritdoc

           * @return Category|array|null

           */

          public function one($db = null)

          {

              return parent::one($db);

          }

      }