_type = self::XMLRPC_TYPE_STRING; // Make sure this value is string and all XML characters are encoded $this->_value = $this->_escapeXmlEntities($value); } /** * Return the value of this object, convert the XML-RPC native string value into a PHP string * Decode all encoded risky XML entities back to normal characters * * @return string */ public function getValue() { return $this->_decodeXmlEntities($this->_value); } }