public function addColumn($width) { $column = new PHPRtfLite_Table_Column($this, $this->getColumnsCount() + 1, $width); $this->_columns[] = $column; return $column; }
/** * test addColumn * @depends testAddColumnList */ public function testAddColumn(PHPRtfLite_Table $table) { $table->addColumn(7); $this->assertEquals(3, $table->getColumnsCount()); return $table; }