Documentation is available at Dataset.php
- <?php
- // ----------------------------------------------------------------------------------
- // Class: Dataset
- // ----------------------------------------------------------------------------------
- /**
- * Dataset implementation.
- * Superclass of datasetMem and datasetDb which contains shared functionality.
- *
- * <BR><BR>History:<UL>
- * <LI>05-02-2005 : First version of this class.</LI>
- *
- * @version V0.9
- * @author Daniel Westphal (http://www.d-westphal.de)
- * @author Chris Bizer <chris@bizer.de>
- *
- * @package dataset
- * @access public
- ***/
- class Dataset
- {
- /**
- * Load a Dataset from File
- *
- * @param string
- * @access public
- */
- function loadFromFile($file)
- {
- $parser= new TriXParser(&$this);
- $parser->parseFile($file);
- }
- /**
- * Load a Datset from a string
- *
- * @param string
- * @access public
- */
- function loadFromString($string)
- {
- $parser= new TriXParser(&$this);
- $parser->parseString($string);
- }
- /**
- * Serialize the Dataset to File
- *
- * @param string
- * @access public
- */
- function serializeToFile($fileName)
- {
- $serializer= new TriXSerializer(&$this);
- $serializer->serializeToFile($fileName);
- }
- /**
- * Serialize the Dataset to string
- *
- * @return string
- * @access public
- */
- function serializeToString()
- {
- $serializer= new TriXSerializer(&$this);
- return $serializer->serializeToString();
- }
- }
- ?>
Documentation generated on Thu, 7 Jul 2005 13:41:09 +0200 by phpDocumentor 1.3.0RC3