startWBXML() public method

Starts the wbxml output.
public startWBXML ( boolean $multipart = false )
$multipart boolean Indicates we need to output mulitpart binary binary data. See MS-ASCMD 2.2.1.8.1
コード例 #1
0
ファイル: Base.php プロジェクト: raz0rsdge/horde
 /**
  * Send WBXML to indicate provisioning is required.
  *
  * @param string $requestType  The type of request we are handling.
  * @param integer $status      The reason we need to provision.
  */
 protected function _requireProvisionWbxml($requestType, $status)
 {
     $this->_encoder->startWBXML();
     $this->_encoder->startTag($requestType);
     $this->_encoder->startTag(Horde_ActiveSync::SYNC_STATUS);
     $this->_encoder->content($status);
     $this->_encoder->endTag();
     $this->_encoder->endTag();
 }