public function column()
    {
        $this->index++;
        $this->infiniteIndex++;

        if (!$this->grid->hasColumn($this->index)) {
            $this->index = 0;
        }

        if ($this->classesOnly) {
            return $this->grid->getColumnAsString($this->index);
        }

        $buffer = sprintf(
            '%s</div>%s%s<div class="%s">%s',
            PHP_EOL,
            PHP_EOL,
            $this->grid->getColumnResetsAsString($this->index),
            $this->grid->getColumnAsString($this->index),
            PHP_EOL
        );

        return $buffer;
    }
public function column()
    {
        $this->index++;
        $this->infiniteIndex++;

        if (!$this->grid->hasColumn($this->index)) {
            $this->index = 0;
        }

        if ($this->classesOnly) {
            return $this->grid->getColumnAsString($this->index);
        }

        $buffer = sprintf(
            '%s</div>%s%s<div class="%s">%s',
            PHP_EOL,
            PHP_EOL,
            $this->grid->getColumnResetsAsString($this->index),
            $this->grid->getColumnAsString($this->index),
            PHP_EOL
        );

        return $buffer;
    }
public function column ( ) { $ this -> index ++ ; $ this -> infiniteIndex ++ ; if ( ! $ this -> grid -> hasColumn ( $ this -> index ) ) { $ this -> index = 0 ; } if ( $ this -> classesOnly ) { return $ this -> grid -> getColumnAsString ( $ this -> index ) ; } $ buffer = sprintf ( '%s</div>%s%s<div class="%s">%s' , PHP_EOL , PHP_EOL , $ this -> grid -> getColumnResetsAsString ( $ this -> index ) , $ this -> grid -> getColumnAsString ( $ this -> index ) , PHP_EOL ) ; return $ buffer ; }
Get the current column.

@return string
Get the current column .