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 00035 class ilXMLResultSetColumn { 00036 var $name; 00037 var $index; 00038 00039 function ilXMLResultSetColumn ($index, $name) 00040 { 00041 $this->name = $name; 00042 $this->index = $index; 00043 } 00044 00045 function getName () 00046 { 00047 return $this->name; 00048 } 00049 00050 function getIndex () 00051 { 00052 return $this->index; 00053 } 00054 } 00055 00056 ?>
1.7.1