PMA\libraries\DisplayResults::_getDataCellForNumericColumns PHP Method

_getDataCellForNumericColumns() private method

Prepare data cell for numeric type fields
See also: _getTableBody()
private _getDataCellForNumericColumns ( string $column, string $class, boolean $condition_field, object $meta, array $map, boolean $is_field_truncated, array $analyzed_sql_results, object | string $transformation_plugin, string $default_function, array $transform_options ) : string
$column string the column's value
$class string the html class for column
$condition_field boolean the column should highlighted or not
$meta object the meta-information about this field
$map array the list of relations
$is_field_truncated boolean the condition for blob data replacements
$analyzed_sql_results array the analyzed query
$transformation_plugin object | string the name of transformation plugin
$default_function string the default transformation function
$transform_options array the transformation parameters
return string $cell the prepared cell, html content
    private function _getDataCellForNumericColumns($column, $class, $condition_field, $meta, $map, $is_field_truncated, $analyzed_sql_results, $transformation_plugin, $default_function, $transform_options)
    {
        if (!isset($column) || is_null($column)) {
            $cell = $this->_buildNullDisplay('right ' . $class, $condition_field, $meta, '');
        } elseif ($column != '') {
            $nowrap = ' nowrap';
            $where_comparison = ' = ' . $column;
            $cell = $this->_getRowData('right ' . $class, $condition_field, $analyzed_sql_results, $meta, $map, $column, $transformation_plugin, $default_function, $nowrap, $where_comparison, $transform_options, $is_field_truncated, '');
        } else {
            $cell = $this->_buildEmptyDisplay('right ' . $class, $condition_field, $meta, '');
        }
        return $cell;
    }
DisplayResults