Beispiel #1
0
 /**
  * Set the background of the row
  *
  * @param TcTable $table
  * @return void
  */
 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);
 }