public function testGetCell() { $feed = new CellFeed($this->getSimpleXMLElement("cell-feed")); $this->assertTrue($feed->getCell(1, 1) instanceof CellEntry); $this->assertNull($feed->getCell(5, 3)); }
protected function getCellValue(CellFeed $cellFeed, $row, $col, $default = null) { $cell = $cellFeed->getCell($row, $col); if (isset($cell)) { return $cell->getContent(); } return $default; }