lib/gii/cascadeTypeModule/Generator.php
public function generateColumnSettings($table)
    {
        $types = [];
        foreach ($table->columns as $column) {
            if (in_array($column->name, ['id', 'created', 'modified', 'archived', 'deleted']) || strstr($column->name, '_id') !== false) {
                continue;
            }
            $types[] = "'{$column->name}' => []";
        }

        return $types;
    }
public function generateColumnSettings($table)
    {
        $types = [];
        foreach ($table->columns as $column) {
            if (in_array($column->name, ['id', 'created', 'modified', 'archived', 'deleted']) || strstr($column->name, '_id') !== false) {
                continue;
            }
            $types[] = "'{$column->name}' => []";
        }

        return $types;
    }
public function generateColumnSettings ( $ table ) { $ types = [ ] ; foreach ( $ table -> columns as $ column ) { if ( in_array ( $ column -> name , [ 'id' , 'created' , 'modified' , 'archived' , 'deleted' ] ) || strstr ( $ column -> name , '_id' ) !== false ) { continue ; } $ types [ ] = "'{$column->name}' => []" ; } return $ types ; }
[[@doctodo method_description:generateColumnSettings]].

@param [[@doctodo param_type:table]] $table [[@doctodo param_description:table]]

@return [[@doctodo return_type:generateColumnSettings]] [[@doctodo return_description:generateColumnSettings]]
[[ @doctodo method_description : generateColumnSettings ]] .