for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace lav45\translate\models;
use yii\db\ActiveQuery;
/**
* This is the ActiveQuery class for [[Lang]].
*
* @see Lang
*/
class LangQuery extends ActiveQuery
{
public function active()
return $this->andWhere(['status' => Lang::STATUS_ACTIVE]);
}