Zepi/Web/UserInterface/src/Renderer/Table.php
protected function renderHead(TableAbstract $table, DataRequest $dataRequest)
    {
        $head = new Head();

        // Add the name row
        $row = new Row($head);
        foreach ($table->getColumns() as $column) {
            $cell = new Cell($column, $row, $column->getName());
            
            $row->addCell($cell);
        }
        
        $head->addRow($row);
        
        return $head;
    }
protected function renderHead(TableAbstract $table, DataRequest $dataRequest)
    {
        $head = new Head();

        // Add the name row
        $row = new Row($head);
        foreach ($table->getColumns() as $column) {
            $cell = new Cell($column, $row, $column->getName());
            
            $row->addCell($cell);
        }
        
        $head->addRow($row);
        
        return $head;
    }
protected function renderHead ( TableAbstract $ table , DataRequest $ dataRequest ) { $ head = new Head ( ) ; // Add the name row $ row = new Row ( $ head ) ; foreach ( $ table -> getColumns ( ) as $ column ) { $ cell = new Cell ( $ column , $ row , $ column -> getName ( ) ) ; $ row -> addCell ( $ cell ) ; } $ head -> addRow ( $ row ) ; return $ head ; }
Generates the object structure for the head

@access protected
@param \Zepi\Web\UserInterface\Table\TableAbstract $table
@param \Zepi\DataSource\Core\Entity\DataRequest $dataRequest
@return \Zepi\Web\UserInterface\Table\Head
Generates the object structure for the head