addRows() public method

adds rows
public addRows ( integer $rowCnt, float $height = null )
$rowCnt integer
$height float row height. When 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 checkIfCellExists
  */
 public function testCheckIfCellExistsStartIndex()
 {
     $this->_table->addRows(3);
     $this->_table->addColumnsList(array(5, 5, 5, 4));
     $this->assertTrue($this->_table->checkIfCellExists(1, 1));
     return $this->_table;
 }