CustomerQuery.php 207 Bytes
Newer Older
Alexander Makarov committed
1 2 3 4 5 6 7 8 9
<?php
namespace yiiunit\data\ar;
use yii\db\ActiveQuery;

/**
 * CustomerQuery
 */
class CustomerQuery extends ActiveQuery
{
10
	public function active()
Alexander Makarov committed
11
	{
12 13
		$this->andWhere('status=1');
		return $this;
Alexander Makarov committed
14 15 16
	}
}