getRows() публичный Метод

gets table rows
public getRows ( ) : PHPRtfLite_Table_Row[]
Результат PHPRtfLite_Table_Row[]
Пример #1
0
 /**
  * sets default font for all cells in the row
  *
  * @param PHPRtfLite_Font $font
  */
 public function setFont(PHPRtfLite_Font $font)
 {
     $rows = $this->_table->getRows();
     foreach ($rows as $row) {
         $cell = $this->_table->getCell($row->getRowIndex(), $this->_columnIndex);
         $cell->setFont($font);
     }
 }