• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

webservice/soap/classes/class.ilSoapStructureReader.php

Go to the documentation of this file.
00001 <?php
00002 
00003   /*
00004    +-----------------------------------------------------------------------------+
00005    | ILIAS open source                                                           |
00006    +-----------------------------------------------------------------------------+
00007    | Copyright (c) 1998-2001 ILIAS open source, University of Cologne            |
00008    |                                                                             |
00009    | This program is free software; you can redistribute it and/or               |
00010    | modify it under the terms of the GNU General Public License                 |
00011    | as published by the Free Software Foundation; either version 2              |
00012    | of the License, or (at your option) any later version.                      |
00013    |                                                                             |
00014    | This program is distributed in the hope that it will be useful,             |
00015    | but WITHOUT ANY WARRANTY; without even the implied warranty of              |
00016    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               |
00017    | GNU General Public License for more details.                                |
00018    |                                                                             |
00019    | You should have received a copy of the GNU General Public License           |
00020    | along with this program; if not, write to the Free Software                 |
00021    | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. |
00022    +-----------------------------------------------------------------------------+
00023   */
00024 
00025 
00035 include_once './webservice/soap/classes/class.ilSoapStructureObject.php';
00036 
00037 class ilSoapStructureReader {
00038         var $object;
00039         var $structureObject;
00040 
00041         function ilSoapStructureReader (& $object)
00042         {
00043                 $this->object = & $object;
00044                 $this->structureObject = & ilSoapStructureObjectFactory::getInstanceForObject ($object);
00045         }
00046 
00047         function getStructureObject() {
00048                 $this->_parseStructure();
00049                 return $this->structureObject;
00050         }
00051 
00052         function _parseStructure () {
00053                 die ("abstract");
00054         }
00055 
00056         function isValid () {
00057             return $this->structureObject != null && is_a($this->structureObject, "ilSoapStructureObject");
00058         }
00059         
00060         
00064         function getObject () {
00065                 return $this->object;
00066         }
00067 }
00068 
00069 ?>

Generated on Fri Dec 13 2013 13:52:16 for ILIAS Release_3_7_x_branch .rev 46817 by  doxygen 1.7.1