PMA\libraries\DisplayResults::_getColumnParams PHP Method

_getColumnParams() private method

Get column order and column visibility
See also: _getTableBody()
private _getColumnParams ( array $analyzed_sql_results ) : array
$analyzed_sql_results array analyzed sql results
return array 2 element array - $col_order, $col_visib
    private function _getColumnParams($analyzed_sql_results)
    {
        if ($this->_isSelect($analyzed_sql_results)) {
            $pmatable = new Table($this->__get('table'), $this->__get('db'));
            $col_order = $pmatable->getUiProp(Table::PROP_COLUMN_ORDER);
            $col_visib = $pmatable->getUiProp(Table::PROP_COLUMN_VISIB);
        } else {
            $col_order = false;
            $col_visib = false;
        }
        return array($col_order, $col_visib);
    }
DisplayResults