/** * Construct * * @return CWSDL */ function __construct() { parent::__construct(); $this->documentfilename = "tmp/document.wsdl"; $this->addComment($this, "WSDL Mediboard genere permettant de decrire le service web."); $this->addComment($this, "Partie 1 : Definitions"); $definitions = $this->addElement($this, "definitions", null, "http://schemas.xmlsoap.org/wsdl/"); $this->addNameSpaces($definitions); }
/** * @see parent::__construct() */ function __construct($sender = null, $schemafilename = null) { parent::__construct(); $this->schemapath = "modules/{$sender}/xsd"; $this->schemafilename = $schemafilename ? "{$this->schemapath}/{$schemafilename}.xsd" : "{$this->schemapath}/{$sender}.xsd"; $this->documentfilename = "tmp/document.xml"; $this->finalpath = CFile::$directory . "/rpuxml/{$sender}"; $this->now = time(); }
/** * Construct * * @param string $dirschemaname Schema name directory * @param string $schemafilename Schema filename * @param string $mod_name Module name * * @return CHPrimXMLDocument */ function __construct($dirschemaname, $schemafilename = null, $mod_name = "hprimxml") { parent::__construct(); $this->formatOutput = false; $this->patharchiveschema = "modules/{$mod_name}/xsd"; $this->schemapath = "{$this->patharchiveschema}/{$dirschemaname}"; $this->schemafilename = $schemafilename ? !CAppUI::conf("hprimxml concatenate_xsd") ? "{$this->schemapath}/{$schemafilename}.xsd" : "{$this->schemapath}/{$schemafilename}.xml" : "{$this->schemapath}/schema.xml"; $this->documentfilename = "{$this->schemapath}/document.xml"; $this->finalpath = CFile::$directory . "/{$mod_name}/{$dirschemaname}"; $this->now = time(); }
/** * Construct * * @param string $encoding Encoding * * @return \CHL7v2MessageXML */ function __construct($encoding = "utf-8") { parent::__construct($encoding); $this->formatOutput = true; }
/** * @see parent::__construct() */ function __construct() { parent::__construct("UTF-8"); $this->formatOutput = true; $this->addElement($this, "jeuxValeurs"); }
/** * @see parent::__construct() */ function __construct() { parent::__construct("UTF-8"); $this->preserveWhiteSpace = true; $this->formatOutput = false; }
/** * Construct * * @param string $encoding Encoding * @param string $hl7v3_version Version * * @return \CHL7v3MessageXML */ function __construct($encoding = "utf-8", $hl7v3_version = null) { parent::__construct($encoding); $this->formatOutput = false; $this->hl7v3_version = $hl7v3_version; }
function __construct($encoding = "iso-8859-1") { parent::__construct($encoding); $this->msg_version = self::VERSION; $this->hostname = $this->guessHostname(); $this->app_name = self::APPNAME; $this->procid = ($procid = getmypid()) ? $procid : self::PROCID; $this->setTimestamp(CMbDT::dateTime()); }