43 require_once
'XML/RPC2/Exception.php';
44 require_once
'XML/RPC2/Backend/Php/Value.php';
93 $this->_parameters = $value;
106 $this->_parameters[] = $value;
146 $this->_methodName = $methodName;
148 $this->_encoding = $encoding;
164 $result =
'<?xml version="1.0" encoding="' . $this->_encoding .
'"?>';
165 $result .=
'<methodCall>';
166 $result .=
"<methodName>${methodName}</methodName>";
167 $result .=
'<params>';
168 foreach($parameters as $parameter) {
169 $result .=
'<param><value>';
171 $result .=
'</value></param>';
173 $result .=
'</params>';
174 $result .=
'</methodCall>';
189 $methodName = (string) $simpleXML->methodName;
191 foreach ($simpleXML->params->param as $param) {
192 foreach ($param->value as $value) {
197 $result->setParameters($params);