/**
  * Parse a table row
  * 
  * @param unknown $row
  */
 private function parseRow($row)
 {
     $entry = new AlboCittaMetroTorinoEntry();
     $entry->subPageURI = $this->uri;
     $tds = $row->getElementsByTagName('td');
     $this->parseNumeriAllegatiCell($tds->item(0), $entry);
     $this->parsePubblicazioneCell($tds->item(1), $entry);
     $this->parseOggettoCell($tds->item(2), $entry);
     $entry->category = $this->category;
     return $entry;
 }
Exemplo n.º 2
0
 /**
  * Parse a table row
  * 
  * @param unknown $row
  */
 private function parseRow($row)
 {
     $entry = new AlboTorinoEntry();
     $entry->subPageURI = $this->uri;
     $tds = $row->getElementsByTagName('td');
     $this->parseCodiceMeccanograficoCell($tds->item(0), $entry);
     $this->parseOggettoCell($tds->item(1), $entry);
     $entry->category = $this->category;
     return $entry;
 }