Dotclear 2.24
Loading...
Searching...
No Matches
dcXmlRpc Class Reference
Inheritance diagram for dcXmlRpc:
xmlrpcIntrospectionServer xmlrpcServer

Public Member Functions

 __construct (string $blog_id)
 
 serve ($data=false)
 
 call (string $methodname, $args)
 
 pingback_ping (string $from_url, string $to_url)
 
 __construct (string $encoding='UTF-8')
 
- Public Member Functions inherited from xmlrpcServer
 __construct ($callbacks=false, $data=false, string $encoding='UTF-8')
 
 serve ($data=false)
 

Additional Inherited Members

- Data Fields inherited from xmlrpcServer
 $strict_check = false
 
- Protected Member Functions inherited from xmlrpcIntrospectionServer
 addCallback (string $method, $callback, array $args, string $help='')
 
 call (string $methodname, $args)
 
 checkArgs (array $args, array $signature)
 
 methodSignature (string $method)
 
 methodHelp (string $method)
 
- Protected Member Functions inherited from xmlrpcServer
 head (int $code, string $msg)
 
 call (string $methodname, array $args)
 
 error (Exception $e)
 
 output (string $xml)
 
 hasMethod (string $method)
 
 setCapabilities ()
 
 setCallbacks ()
 
 getCapabilities ()
 
 listMethods ()
 
 multiCall (array $methodcalls)
 
- Protected Attributes inherited from xmlrpcIntrospectionServer
 $signatures
 
 $help
 
- Protected Attributes inherited from xmlrpcServer
 $callbacks = []
 
 $data
 
 $encoding
 
 $message
 
 $capabilities
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $blog_id)

Constructs a new instance.

Parameters
string$blog_idThe blog ID

Reimplemented from xmlrpcIntrospectionServer.

References xmlrpcIntrospectionServer\addCallback().

Member Function Documentation

◆ serve()

serve (   $data = false)

Start the XML-RPC server

Parameters
bool$dataThe data

Reimplemented from xmlrpcServer.

◆ call()

call ( string  $methodname,
  $args 
)

Call a XML-RPC method

Parameters
string$methodnameThe methodname
mixed$argsThe arguments
Returns
mixed

Reimplemented from xmlrpcIntrospectionServer.

◆ pingback_ping()

pingback_ping ( string  $from_url,
string  $to_url 
)

Receive a pingback

Parameters
string$from_urlThe from url
string$to_urlTo url
Returns
string Message sent back to the sender

References dcCore\app(), and dcTrackback\checkURLs().


The documentation for this class was generated from the following file: