34 include_once 
'./webservice/soap/classes/class.ilXMLResultSetColumn.php';
 
   35 include_once 
'./webservice/soap/classes/class.ilXMLResultSetRow.php';
 
   48                     if (is_numeric($index) && ($index < 0 || $index > count($this->colspecs)))
 
   62                         $this->colspecs [count($this->colspecs)] = 
new ilXMLResultSetColumn (count($this->colspecs), $columnname);
 
   73                         foreach ($this->colspecs as $colspec) {
 
   74                                 if (strcasecmp($columnname, $colspec->getName()) == 0)
 
  119                         $this->rows [] = 
$row;
 
  153                     foreach ($array as 
$row) {
 
  157                             $columnNames = array_keys($row);
 
  158                             foreach ($columnNames as $columnName)
 
  165                 $xmlRow->setValues ($row);
 
  175                     $this->rows = array();
 
  176                     $this->colspecs = array();
 
  185                     return count($this->colspecs);
 
  194                     return count($this->rows);
 
  204                                 throw new Exception (
"Index too small or too big!");
 
  205                         return $this->rows[$idx];
 
  218                         if (!is_numeric($colIdx))
 
  221                         return $row->getValue ($colIdx);