public static function getAuditTables()
    {
        $connection = Yii::$app->db;
        $schema = $connection->schema;
        $tables = $schema->getTableNames('audits');
        $map = [];
        $map[] = Yii::t('app', 'Choose');
        foreach ($tables as $table) {
            $map[$table] = $table;
        }
        return $map;
    }
public static function getAuditTables()
    {
        $connection = Yii::$app->db;
        $schema = $connection->schema;
        $tables = $schema->getTableNames('audits');
        $map = [];
        $map[] = Yii::t('app', 'Choose');
        foreach ($tables as $table) {
            $map[$table] = $table;
        }
        return $map;
    }
public static function getAuditTables ( ) { $ connection = Yii :: $ app -> db ; $ schema = $ connection -> schema ; $ tables = $ schema -> getTableNames ( 'audits' ) ; $ map = [ ] ; $ map [ ] = Yii :: t ( 'app' , 'Choose' ) ; foreach ( $ tables as $ table ) { $ map [ $ table ] = $ table ; } return $ map ; }
Selects all table from 'audits' schema

@return array $map
Selects all table from audits schema