protected function formatName($column)
    {
        $columns = explode('.', $column);

        if (count($columns) == 1) {
            $name = $columns[0];
        } else {
            $name = array_shift($columns);
            foreach ($columns as $column) {
                $name .= "[$column]";
            }
        }

        $parenName = $this->parent->getName();

        return $parenName ? "{$parenName}_{$name}" : $name;
    }
protected function formatName($column)
    {
        $columns = explode('.', $column);

        if (count($columns) == 1) {
            $name = $columns[0];
        } else {
            $name = array_shift($columns);
            foreach ($columns as $column) {
                $name .= "[$column]";
            }
        }

        $parenName = $this->parent->getName();

        return $parenName ? "{$parenName}_{$name}" : $name;
    }
protected function formatName ( $ column ) { $ columns = explode ( '.' , $ column ) ; if ( count ( $ columns ) == 1 ) { $ name = $ columns [ 0 ] ; } else { $ name = array_shift ( $ columns ) ; foreach ( $ columns as $ column ) { $ name .= "[$column]" ; } } $ parenName = $ this -> parent -> getName ( ) ; return $ parenName ? "{$parenName}_{$name}" : $ name ; }
Format name.

@param string $column

@return string
Format name .