EventlogQuery.php 569 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace app\models;
  3. /**
  4. * This is the ActiveQuery class for [[Eventlog]].
  5. *
  6. * @see Eventlog
  7. */
  8. class EventlogQuery extends \yii\db\ActiveQuery
  9. {
  10. /*public function active()
  11. {
  12. $this->andWhere('[[status]]=1');
  13. return $this;
  14. }*/
  15. /**
  16. * @inheritdoc
  17. * @return Eventlog[]|array
  18. */
  19. public function all($db = null)
  20. {
  21. return parent::all($db);
  22. }
  23. /**
  24. * @inheritdoc
  25. * @return Eventlog|array|null
  26. */
  27. public function one($db = null)
  28. {
  29. return parent::one($db);
  30. }
  31. }