class BroadsoftXMLBase !!!130057.php!!! __construct(inout id_session : string = null) $this->id_session = ($id_session) ? $id_session : BroadsoftXMLBase::SESSION_DESCRIPTION . substr(md5(time()), 0, 10) ; $this->dom = new DOMDocument('1.0', 'iso-8859-1'); $this->root = new DOMElement("BroadsoftDocument"); $this->dom->appendChild($this->root); $this->root->setAttribute("protocol", "OCI"); $this->root->setAttribute("xmlns", "C"); $this->root->setAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); $elem2 = new DOMElement("sessionId", $this->id_session); $this->root->appendChild($elem2); $elem2->setAttribute("xmlns", ""); !!!130185.php!!! getXML() : string return $this->dom->saveXML($this->root); !!!130313.php!!! getsessionId() : string return $this->id_session; !!!130441.php!!! getHTML() : string $elem2 = new DOMElement("sessionId", $this->id_session); $this->root->appendChild($elem2); $elem2->setAttribute("xmlns", ""); return $this->dom->saveHTML(); /* */ !!!130569.php!!! addCommand(inout comando : BroadsoftXMLCommand, inout identificador : = "", inout description : = "") $this->root->appendChild($comando); !!!130697.php!!! getDom() : DOMDocument return $this->dom;