src/Query.php
public function getSelectionAlias($column)
        {
            if (!is_numeric($column) && !is_string($column)) {
                if (is_array($column) && array_key_exists('column', $column)) {
                    $column = $column['column'];
                } else {
                    throw new Exception('Invalid column!');
                }
            }
            if (!isset($this->aliases[$column])) {
                $this->aliases[$column] = str_replace('.', '_', $column);
            }

            return $this->aliases[$column];
        }
public function getSelectionAlias($column)
        {
            if (!is_numeric($column) && !is_string($column)) {
                if (is_array($column) && array_key_exists('column', $column)) {
                    $column = $column['column'];
                } else {
                    throw new Exception('Invalid column!');
                }
            }
            if (!isset($this->aliases[$column])) {
                $this->aliases[$column] = str_replace('.', '_', $column);
            }

            return $this->aliases[$column];
        }
public function getSelectionAlias ( $ column ) { if ( ! is_numeric ( $ column ) && ! is_string ( $ column ) ) { if ( is_array ( $ column ) && array_key_exists ( 'column' , $ column ) ) { $ column = $ column [ 'column' ] ; } else { throw new Exception ( 'Invalid column!' ) ; } } if ( ! isset ( $ this -> aliases [ $ column ] ) ) { $ this -> aliases [ $ column ] = str_replace ( '.' , '_' , $ column ) ; } return $ this -> aliases [ $ column ] ; }
Get the selection alias for a specified column

@param string $column

@return string
Get the selection alias for a specified column