Files
SmartHomePHP/models/query/HistoryQuery.php
2017-08-21 03:39:11 +03:00

37 lines
581 B
PHP

<?php
namespace app\models\query;
use app\models\History;
/**
* This is the ActiveQuery class for [[History]].
*
* @see History
*/
class HistoryQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* @inheritdoc
* @return History[]|array
*/
public function all($db = null)
{
return parent::all($db);
}
/**
* @inheritdoc
* @return History|array|null
*/
public function one($db = null)
{
return parent::one($db);
}
}