protected function addColumns(\MUtil_Html_TableElement $table)
    {
        $table->addColumn(
                array(\MUtil_Html::raw($this->repeater->key), 'class' => $this->repeater->class),
                $this->_('Question code')
                );
        $table->addColumn(
                array(\MUtil_Html::raw($this->repeater->question), 'class' => $this->repeater->class),
                $this->_('Question')
                );
        $table->addColumn(
                $this->repeater->answers->call($this, 'showAnswers', $this->repeater->answers),
                $this->_('Answer options')
                );
        // $table->addColumn($this->repeater->type, 'Type');
    }
protected function addColumns(\MUtil_Html_TableElement $table)
    {
        $table->addColumn(
                array(\MUtil_Html::raw($this->repeater->key), 'class' => $this->repeater->class),
                $this->_('Question code')
                );
        $table->addColumn(
                array(\MUtil_Html::raw($this->repeater->question), 'class' => $this->repeater->class),
                $this->_('Question')
                );
        $table->addColumn(
                $this->repeater->answers->call($this, 'showAnswers', $this->repeater->answers),
                $this->_('Answer options')
                );
        // $table->addColumn($this->repeater->type, 'Type');
    }
protected function addColumns ( \ MUtil_Html_TableElement $ table ) { $ table -> addColumn ( array ( \ MUtil_Html :: raw ( $ this -> repeater -> key ) , 'class' => $ this -> repeater -> class ) , $ this -> _ ( 'Question code' ) ) ; $ table -> addColumn ( array ( \ MUtil_Html :: raw ( $ this -> repeater -> question ) , 'class' => $ this -> repeater -> class ) , $ this -> _ ( 'Question' ) ) ; $ table -> addColumn ( $ this -> repeater -> answers -> call ( $ this , 'showAnswers' , $ this -> repeater -> answers ) , $ this -> _ ( 'Answer options' ) ) ; // $table->addColumn($this->repeater->type, 'Type'); }
Add the columns ot the table

This is a default implementation, overrule at will

@param \MUtil_Html_TableElement $table
Add the columns ot the table