public function GetBodyXml() { if (is_null($this->xmlBody)) { $this->xmlBody = CDavXmlDocument::LoadFromString($this->draftBody); } return $this->xmlBody; }
public function GetXmlDocument() { if ($this->xmlDocument == null) { $rawPost = $this->GetRequestBody(); $this->xmlDocument = CDavXmlDocument::LoadFromString($rawPost); } return $this->xmlDocument; }