addRowList() public method

adds list of rows to a table.
public addRowList ( array $heights )
$heights array array of heights for each row to add. When height is null, the height is sufficient for all the text in the line; when positive, the height is guaranteed to be at least the specified height; when negative, the absolute value of the height is used, regardless of the height of the text in the line.
コード例 #1
0
ファイル: TableTest.php プロジェクト: jfrank1500/curso_php
 /**
  * tests addRowList
  * @depends testAddRows
  */
 public function testAddRowList(PHPRtfLite_Table $table)
 {
     $rowHeights = array(2, 5);
     $table->addRowList($rowHeights);
     $this->assertEquals(6, $table->getRowsCount());
     return $table;
 }