function __construct($xmlPath, $sourcePath = null)
 {
     if (!$sourcePath) {
         $sourcePath = realpath("sources/objc");
     }
     parent::ClientGeneratorFromXml($xmlPath, $sourcePath);
     $this->_doc = new KDOMDocument();
     $this->_doc->load($this->_xmlFile);
 }
 function PhpZendClientGenerator($xmlPath, $sourcePath = null)
 {
     if (!$sourcePath) {
         $sourcePath = realpath("sources/zend");
     }
     parent::ClientGeneratorFromXml($xmlPath, $sourcePath);
     $this->_doc = new KDOMDocument();
     $this->_doc->load($this->_xmlFile);
 }
 function Php4ClientGenerator($xmlPath)
 {
     parent::ClientGeneratorFromXml($xmlPath, realpath("sources/php4"));
     $this->_doc = new KDOMDocument();
     $this->_doc->load($this->_xmlFile);
 }
 public function JavaClientGenerator($xmlPath, $sourcePath = "sources/java")
 {
     parent::ClientGeneratorFromXml($xmlPath, realpath($sourcePath));
     $this->_doc = new KDOMDocument();
     $this->_doc->load($this->_xmlFile);
 }
 public function Xml2As3ClientGenerator($xmlFilePath)
 {
     parent::ClientGeneratorFromXml($xmlFilePath, "sources/as3");
 }
Example #6
0
 /**
  * Constructor.
  * @param string $xmlPath path to schema xml.
  * @link http://www.kaltura.com/api_v3/api_schema.php
  */
 function JsClientGenerator($xmlPath)
 {
     //set up the generator paths; path to schema xml and path to static source code files to copy.
     parent::ClientGeneratorFromXml($xmlPath, 'sources/js');
 }
 function CSharpClientGenerator($xmlPath)
 {
     parent::ClientGeneratorFromXml($xmlPath, realpath("sources/csharp"));
     $this->_doc = new DOMDocument();
     $this->_doc->load($this->_xmlFile);
 }