ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
CallHandler.php
Go to the documentation of this file.
1<?php
2
3/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
4
5// LICENSE AGREEMENT. If folded, press za here to unfold and read license {{{
6
40// }}}
41
42// dependencies {{{
43require_once 'XML/RPC2/Exception.php';
44// }}}
45
71{
72
73 // {{{ properties
74
80 protected $methods = array();
81
82 // }}}
83 // {{{ getMethods()
84
90 public function getMethods()
91 {
92 return $this->methods;
93 }
94
95 // }}}
96 // {{{ addMethod()
97
103 protected function addMethod(XML_RPC2_Server_Method $method)
104 {
105 $this->methods[$method->getName()] = $method;
106 }
107
108 // }}}
109 // {{{ getMethod()
110
117 public function getMethod($name)
118 {
119 if (isset($this->methods[$name])) {
120 return $this->methods[$name];
121 }
122 return false;
123 }
124
125 // }}}
126
127}
128
129?>
addMethod(XML_RPC2_Server_Method $method)
method appender
getMethods()
methods getter
Definition: CallHandler.php:90
getMethod($name)
method getter
getName()
name getter
Definition: Method.php:146