Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/lib/IXRClass.php - 1432 lines - 43892 bytes - Source - Print

Description: IXR - The Incutio XML-RPC Library Copyright (c) 2010, Incutio Ltd. All rights reserved.

Author: Simon Willison
Copyright: Incutio Ltd 2010 (http://www.incutio.com)
License: http://www.opensource.org/licenses/bsd-license.php BSD
Version: 1.7.4 7th September 2010 (Contains Textpatternish amendments, 2014-08-13)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 12 classes

IXR_Value:: (4 methods):
__construct()
calculateType()
getXml()
isStruct()

IXR_Message:: (5 methods):
__construct()
parse()
tag_open()
cdata()
tag_close()

IXR_Server:: (11 methods):
__construct()
serve()
call()
error()
output()
hasMethod()
setCapabilities()
getCapabilities()
setCallbacks()
listMethods()
multiCall()

IXR_Request:: (3 methods):
__construct()
getLength()
getXml()

IXR_Client:: (6 methods):
__construct()
query()
getResponse()
isError()
getErrorCode()
getErrorMessage()

IXR_Error:: (2 methods):
__construct()
getXml()

IXR_Date:: (6 methods):
__construct()
parseTimestamp()
parseIso()
getIso()
getXml()
getTimestamp()

IXR_Base64:: (2 methods):
__construct()
getXml()

IXR_IntrospectionServer:: (5 methods):
__construct()
addCallback()
call()
methodSignature()
methodHelp()

IXR_ClientMulticall:: (3 methods):
__construct()
addCall()
query()

IXR_ClientSSL:: (6 methods):
__construct()
setCertificate()
setCACertificate()
setTimeOut()
getTimeOut()
query()

IXR_ClassServer:: (4 methods):
__construct()
addMethod()
registerObject()
call()

Class: IXR_Value

IXR_Value

__construct($data, $type = false)  line: 52
No description
calculateType()  line: 72
No description
getXml()  line: 109
No description
isStruct($array line: 151
Checks whether or not the supplied array is a struct or not

return: boolean
param: unknown_type $array

Class: IXR_Message

IXR_MESSAGE

__construct($message line: 197
No description
parse()  line: 202
No description
tag_open($parser, $tag, $attr line: 269
No description
cdata($parser, $cdata line: 291
No description
tag_close($parser, $tag line: 296
No description

Class: IXR_Server

IXR_Server

__construct($callbacks = false, $data = false, $wait = false)  line: 382
No description
serve($data = false)  line: 394
No description
call($methodname, $args line: 445
No description
error($error, $message = false)  line: 484
No description
output($xml line: 493
No description
hasMethod($method line: 511
No description
setCapabilities()  line: 516
No description
getCapabilities($args line: 535
No description
setCallbacks()  line: 540
No description
listMethods($args line: 547
No description
multiCall($methodcalls line: 554
No description

Class: IXR_Request

IXR_Request

__construct($method, $args line: 591
No description
getLength()  line: 611
No description
getXml()  line: 616
No description

Class: IXR_Client

IXR_Client

__construct($server, $path = false, $port = 80, $timeout = 45)  line: 644
No description
query()  line: 670
No description
getResponse()  line: 772
No description
isError()  line: 778
No description
getErrorCode()  line: 783
No description
getErrorMessage()  line: 788
No description

Class: IXR_Error

IXR_Error

__construct($code, $message line: 806
No description
getXml()  line: 812
No description

Class: IXR_Date

IXR_Date

__construct($time line: 852
No description
parseTimestamp($timestamp line: 862
No description
parseIso($iso line: 873
No description
getIso()  line: 884
No description
getXml()  line: 889
No description
getTimestamp()  line: 894
No description

Class: IXR_Base64

IXR_Base64

__construct($data line: 910
No description
getXml()  line: 915
No description

Class: IXR_IntrospectionServer

IXR_IntrospectionServer

__construct()  line: 932
No description
addCallback($method, $callback, $args, $help line: 966
No description
call($methodname, $args line: 973
No description
methodSignature($method line: 1038
No description
methodHelp($method line: 1078
No description

Class: IXR_ClientMulticall

IXR_ClientMulticall

__construct($server, $path = false, $port = 80)  line: 1094
No description
addCall()  line: 1100
No description
query()  line: 1111
No description

Class: IXR_ClientSSL

Client for communicating with a XML-RPC Server over HTTPS.

__construct($server, $path = false, $port = 443, $timeout = false)  line: 1160
Constructor

param: string $server URL of the Server to connect to
setCertificate($certificateFile, $keyFile, $keyPhrase='')  line: 1177
Set the client side certificates to communicate with the server.

param: string $certificateFile Filename of the client side certificate to use
param: string $keyFile Filename of the client side certificate's private key
param: string $keyPhrase Passphrase to unlock the private key
setCACertificate($caFile line: 1203
No description
setTimeOut($newTimeOut line: 1212
Sets the connection timeout (in seconds)

param: int $newTimeOut Timeout in seconds
returns: void
getTimeOut()  line: 1223
Returns the connection timeout (in seconds)

returns: int
query()  line: 1233
Set the query to send to the XML-RPC Server

Class: IXR_ClassServer

Extension of the {@link IXR_Server} class to easily wrap objects.

Class is designed to extend the existing XML-RPC server to allow the
presentation of methods from a variety of different objects via an
XML-RPC server.
It is intended to assist in organization of your XML-RPC methods by allowing
you to "write once" in your existing model classes and present them.

__construct($delim = '.', $wait = false)  line: 1355
No description
addMethod($rpcName, $functionName line: 1362
No description
registerObject($object, $methods, $prefix=null)  line: 1367
No description
call($methodname, $args line: 1391
No description

title

Body