public function checkTableExists($model)
    {
        if (!in_array($model->table, $this->getAuditTables())) {
            $model->addError('table', Yii::t('app', "You've entered an invalid table name."));
            return false;
        }
        return true;
    }
public function checkTableExists($model)
    {
        if (!in_array($model->table, $this->getAuditTables())) {
            $model->addError('table', Yii::t('app', "You've entered an invalid table name."));
            return false;
        }
        return true;
    }
public function checkTableExists ( $ model ) { if ( ! in_array ( $ model -> table , $ this -> getAuditTables ( ) ) ) { $ model -> addError ( 'table' , Yii :: t ( 'app' , "You've entered an invalid table name." ) ) ; return false ; } return true ; }
Check if given table exists in audits schema

@return boolean
Check if given table exists in audits schema