/** * @inheritdoc */ public function behaviors() { return array_merge(parent::behaviors(), ['secureFilter' => ['class' => SecureFilterBehavior::className(), 'enabled' => $this->isSecureEnabled()]]); }
/** * @inheritdoc * @return ActiveQuery the newly created [[ActiveQuery]] instance. */ public static function find() { return Yii::createObject(ActiveQuery::className(), [get_called_class()]); }