Location: PHPKode > scripts > Scrubs > scrubs/Dommer.php
<?php

/**
 * 
 *
 * @version $Id$
 * @copyright 2003 
 **/

class Dommer {
	
	var $XMLFile  = "";
	
	function Dommer($_XMLFile) {
		$this->XMLFile  = $_XMLFile;
	}
	
	function dominate() {
		$document = xmldocfile( $this->XMLFile );
		$config   = $document->root();
		$DOMArray = $config->children();
		return $DOMArray;
	}
}

?>
Return current item: Scrubs