public function setFill(TcTable $table) {
        if ($this->disabled) {
            $fill = false;
        } else {
            $fill = $this->rowCurrentStripe = !$this->rowCurrentStripe;
        }
        foreach ($table->getRowDefinition() as $column => $row) {
            $table->setRowDefinition($column, 'fill', $row['fill'] ?: $fill);
        }
        $this->moveY($table);
    }
public function setFill(TcTable $table) {
        if ($this->disabled) {
            $fill = false;
        } else {
            $fill = $this->rowCurrentStripe = !$this->rowCurrentStripe;
        }
        foreach ($table->getRowDefinition() as $column => $row) {
            $table->setRowDefinition($column, 'fill', $row['fill'] ?: $fill);
        }
        $this->moveY($table);
    }
public function setFill ( TcTable $ table ) { if ( $ this -> disabled ) { $ fill = false ; } else { $ fill = $ this -> rowCurrentStripe = ! $ this -> rowCurrentStripe ; } foreach ( $ table -> getRowDefinition ( ) as $ column => $ row ) { $ table -> setRowDefinition ( $ column , 'fill' , $ row [ 'fill' ] ? : $ fill ) ; } $ this -> moveY ( $ table ) ; }
Set the background of the row

@param TcTable $table
@return void
Set the background of the row