00001 <?php 00002 00003 00004 /* 00005 +-----------------------------------------------------------------------------+ 00006 | ILIAS open source | 00007 +-----------------------------------------------------------------------------+ 00008 | Copyright (c) 1998-2001 ILIAS open source, University of Cologne | 00009 | | 00010 | This program is free software; you can redistribute it and/or | 00011 | modify it under the terms of the GNU General Public License | 00012 | as published by the Free Software Foundation; either version 2 | 00013 | of the License, or (at your option) any later version. | 00014 | | 00015 | This program is distributed in the hope that it will be useful, | 00016 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 00017 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 00018 | GNU General Public License for more details. | 00019 | | 00020 | You should have received a copy of the GNU General Public License | 00021 | along with this program; if not, write to the Free Software | 00022 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 00023 +-----------------------------------------------------------------------------+ 00024 */ 00025 00026 00036 class ilXMLResultSetRow { 00037 var $columns = array(); 00038 00045 function setValue ($index, $value) 00046 { 00047 $this->columns[$index] = $value; 00048 } 00049 00050 00056 function getColumns () 00057 { 00058 return $this->columns; 00059 } 00060 00066 function setValues ($values) 00067 { 00068 $i = 0; 00069 foreach ($values as $value) { 00070 $this->setValue($i++, $value); 00071 } 00072 } 00073 } 00074 00075 ?>
1.7.1