diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/XmlRpc/Value/Integer.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/XmlRpc/Value/Integer.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,65 @@ + PHP_INT_MAX) { + require_once 'Zend/XmlRpc/Value/Exception.php'; + throw new Zend_XmlRpc_Value_Exception('Overlong integer given'); + } + + $this->_type = self::XMLRPC_TYPE_INTEGER; + $this->_value = (int)$value; // Make sure this value is integer + } + + /** + * Return the value of this object, convert the XML-RPC native integer value into a PHP integer + * + * @return int + */ + public function getValue() + { + return $this->_value; + } +}