ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
XML_RPC2_Server_CallHandler Class Reference
+ Inheritance diagram for XML_RPC2_Server_CallHandler:
+ Collaboration diagram for XML_RPC2_Server_CallHandler:

Public Member Functions

 getMethods ()
 methods getter More...
 
 getMethod ($name)
 method getter More...
 

Protected Member Functions

 addMethod (XML_RPC2_Server_Method $method)
 method appender More...
 

Protected Attributes

 $methods = array()
 

Detailed Description

Definition at line 70 of file CallHandler.php.

Member Function Documentation

◆ addMethod()

XML_RPC2_Server_CallHandler::addMethod ( XML_RPC2_Server_Method  $method)
protected

method appender

Parameters
XML_RPC2_Server_MethodMethod to append to methods

Definition at line 103 of file CallHandler.php.

References XML_RPC2_Server_Method\getName().

Referenced by XML_RPC2_Server_Callhandler_Instance\__construct(), and XML_RPC2_Server_Callhandler_Class\__construct().

104  {
105  $this->methods[$method->getName()] = $method;
106  }
getName()
name getter
Definition: Method.php:146
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMethod()

XML_RPC2_Server_CallHandler::getMethod (   $name)

method getter

Parameters
stringName of method to return
XML_RPC2_Server_MethodMethod named $name

Definition at line 117 of file CallHandler.php.

Referenced by XML_RPC2_Server_Callhandler_Instance\__call(), and XML_RPC2_Server_Callhandler_Class\__call().

118  {
119  if (isset($this->methods[$name])) {
120  return $this->methods[$name];
121  }
122  return false;
123  }
+ Here is the caller graph for this function:

◆ getMethods()

XML_RPC2_Server_CallHandler::getMethods ( )

methods getter

Returns
array Array of XML_RPC2_Server_Method instances

Definition at line 90 of file CallHandler.php.

References $methods.

Referenced by XML_RPC2_Server_Callhandler_Instance\__call(), and XML_RPC2_Server_Callhandler_Class\__call().

91  {
92  return $this->methods;
93  }
+ Here is the caller graph for this function:

Field Documentation

◆ $methods

XML_RPC2_Server_CallHandler::$methods = array()
protected

Definition at line 80 of file CallHandler.php.

Referenced by getMethods().


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