Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -3,19 +3,19 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* IP.Board v3.2.3
|
||||
* XML-RPC Server: Send, receive and process XML-RPC requests
|
||||
* Last Updated: $Date: 2010-07-22 04:20:19 -0400 (Thu, 22 Jul 2010) $
|
||||
* Last Updated: $Date: 2011-05-09 18:07:59 -0400 (Mon, 09 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: matt $
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Kernel
|
||||
* @link http://www.invisionpower.com
|
||||
* @link http://hatynka.in
|
||||
* @since 6th January 2006
|
||||
* @version $Revision: 440 $
|
||||
* @version $Revision: 8688 $
|
||||
*
|
||||
*
|
||||
* Example Usage:
|
||||
@@ -348,7 +348,7 @@ class classXmlRpc
|
||||
*
|
||||
* @access public
|
||||
* @param string Value
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function returnValue( $value )
|
||||
{
|
||||
@@ -498,14 +498,14 @@ class classXmlRpc
|
||||
/**
|
||||
* Recursive method to build document
|
||||
*
|
||||
* @access private
|
||||
* @access protected
|
||||
* @param string XML Data
|
||||
* @param string Key
|
||||
* @param string Value
|
||||
* @param integer Depth
|
||||
* @return string finished document
|
||||
*/
|
||||
private function _buildDocumentRecurse( $xmldata, $k, $v, $depth=4 )
|
||||
protected function _buildDocumentRecurse( $xmldata, $k, $v, $depth=4 )
|
||||
{
|
||||
$xmldata .= "\t<member>\n";
|
||||
$xmldata .= "\t\t<name>".$k."</name>\n";
|
||||
@@ -556,7 +556,7 @@ class classXmlRpc
|
||||
* Prints a true document and exits
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function returnTrue()
|
||||
{
|
||||
@@ -587,7 +587,7 @@ class classXmlRpc
|
||||
*
|
||||
* @access public
|
||||
* @param array Array of params to return in key => value pairs
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function returnParams( $data_array )
|
||||
{
|
||||
@@ -611,7 +611,7 @@ class classXmlRpc
|
||||
* @access public
|
||||
* @param int Error code
|
||||
* @param string Error Message
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function returnError( $error_code, $error_msg )
|
||||
{
|
||||
@@ -724,7 +724,7 @@ class classXmlRpc
|
||||
else
|
||||
{
|
||||
$header = "POST $path HTTP/1.0\r\n";
|
||||
$header .= "User-Agent: IPS XML-RPC Client Library (\$Revision: 440 $)\r\n";
|
||||
$header .= "User-Agent: IPS XML-RPC Client Library (\$Revision: 8688 $)\r\n";
|
||||
$header .= "Host: $host\r\n";
|
||||
|
||||
if ( $this->auth_user && $this->auth_pass )
|
||||
@@ -762,7 +762,7 @@ class classXmlRpc
|
||||
//-------------------------------
|
||||
|
||||
$tmp = explode("\r\n\r\n", $data, 2);
|
||||
$data = $tmp[1];
|
||||
$data = trim($tmp[1]);
|
||||
|
||||
//-----------------------------------------
|
||||
// Debug?
|
||||
@@ -851,7 +851,7 @@ class classXmlRpc
|
||||
* Create the XML header
|
||||
*
|
||||
* @access protected
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
protected function generateHeader()
|
||||
{
|
||||
@@ -914,7 +914,7 @@ class xmlRpcParser
|
||||
*
|
||||
* @access public
|
||||
* @param string Data
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct( $data=null )
|
||||
{
|
||||
@@ -930,7 +930,7 @@ class xmlRpcParser
|
||||
* Destructor
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
@@ -971,13 +971,13 @@ class xmlRpcParser
|
||||
/**
|
||||
* Open handler for XML object
|
||||
*
|
||||
* @access private
|
||||
* @access protected
|
||||
* @param object Parser reference
|
||||
* @param string Tag
|
||||
* @param array Attributes
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
private function _rpcOpen($parser, $tag, $attributes)
|
||||
protected function _rpcOpen($parser, $tag, $attributes)
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
@@ -1031,12 +1031,12 @@ class xmlRpcParser
|
||||
/**
|
||||
* Array unshift wrapper
|
||||
*
|
||||
* @access private
|
||||
* @access protected
|
||||
* @param array Array
|
||||
* @param string Value
|
||||
* @return array New array
|
||||
*/
|
||||
private function _arrayUnshiftReference(&$array, &$value)
|
||||
protected function _arrayUnshiftReference(&$array, &$value)
|
||||
{
|
||||
$return = array_unshift($array,'');
|
||||
$array[0] =& $value;
|
||||
@@ -1046,12 +1046,12 @@ class xmlRpcParser
|
||||
/**
|
||||
* XML data handler
|
||||
*
|
||||
* @access private
|
||||
* @access protected
|
||||
* @param object Parser reference
|
||||
* @param string Data
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
private function _rpcData($parser, $data)
|
||||
protected function _rpcData($parser, $data)
|
||||
{
|
||||
if ( $this->last_opened_tag != NULL )
|
||||
{
|
||||
@@ -1062,12 +1062,12 @@ class xmlRpcParser
|
||||
/**
|
||||
* XML close handler
|
||||
*
|
||||
* @access private
|
||||
* @access protected
|
||||
* @param object Parser reference
|
||||
* @param string Tag
|
||||
* @return void
|
||||
* @return @e void
|
||||
*/
|
||||
private function _rpcClose($parser, $tag)
|
||||
protected function _rpcClose($parser, $tag)
|
||||
{
|
||||
if ( $this->last_opened_tag == $tag )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user