Redaxscript\Controller\Search::_getColumnArray PHP Method

_getColumnArray() protected method

get the column array
Since: 3.0.0
protected _getColumnArray ( string $table = null ) : array
$table string name of the table
return array
    protected function _getColumnArray($table = null)
    {
        return array_filter([$table === 'categories' || $table === 'articles' ? 'title' : null, $table === 'categories' || $table === 'articles' ? 'description' : null, $table === 'categories' || $table === 'articles' ? 'keywords' : null, $table === 'articles' || $table === 'comments' ? 'text' : null]);
    }