SPEASY_CDAWEB.php 819 Bytes
<?php
/**
 * @class SPEASY_CDAWEB
 * @brief  
 */

class SPEASY_CDAWEB extends RemoteDataCenterClientClass
{ 
   function __construct()
   {
		   $this->baseID = get_class($this);
		   $this->baseDom = new DomDocument("1.0");
		   $this->baseDomName = RemoteData.$this->baseID."/base.xml";

		   if (!@$this->baseDom->load($this->baseDomName))
						   echo 'Cannot Load base.xml for '.$this->baseID.PHP_EOL;

		   date_default_timezone_set('UTC');
   }

   protected function makeInternalParamXml($param)
   {
		return true;
   }
   
	public function makeAllParams()
	{
		
	}
   
	// make components description from base.xml
	public function makeCenterNode($xmlDom)
	{
		$nodeBase = $this->baseDom->getElementsByTagName('dataCenter')->item(0);
		$node = $xmlDom->importNode($nodeBase, true);

		return $node;
	}
}
?>