public function begin()
    {
        $this->index = 0;
        $this->infiniteIndex++;

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

        return sprintf(
            '%s%s%s<div class="%s">%s',
            $this->beginRow(),
            PHP_EOL,
            $this->grid->getColumnResetsAsString($this->index),
            $this->grid->getColumnAsString($this->index),
            PHP_EOL
        );
    }
public function begin()
    {
        $this->index = 0;
        $this->infiniteIndex++;

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

        return sprintf(
            '%s%s%s<div class="%s">%s',
            $this->beginRow(),
            PHP_EOL,
            $this->grid->getColumnResetsAsString($this->index),
            $this->grid->getColumnAsString($this->index),
            PHP_EOL
        );
    }
public function begin ( ) { $ this -> index = 0 ; $ this -> infiniteIndex ++ ; if ( $ this -> classesOnly ) { return $ this -> grid -> getColumnAsString ( $ this -> index ) ; } return sprintf ( '%s%s%s<div class="%s">%s' , $ this -> beginRow ( ) , PHP_EOL , $ this -> grid -> getColumnResetsAsString ( $ this -> index ) , $ this -> grid -> getColumnAsString ( $ this -> index ) , PHP_EOL ) ; }
Start a new row.

If classesOnly is set, only the first column is returned.

@return string
Start a new row .