common/models/ShopQuery.php
<?php
/**
* This file is part of the HomeFinanceV2 project.
*
* (c) Rafalsky.com <http://github.com/Rafalsky/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace common\models;
/**
* This is the ActiveQuery class for [[Shop]].
*
* @see Shop
*/
class ShopQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
$this->andWhere('[[status]]=1');
return $this;
}*/
/**
* @inheritdoc
* @return Shop[]|array
*/
public function all($db = null)
{
return parent::all($db);
}
/**
* @inheritdoc
* @return Shop|array|null
*/
public function one($db = null)
{
return parent::one($db);
}
}