opensim-www – Diff between revs 13 and 19

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 13 Rev 19
Line 182... Line 182...
182 $serializer->serialize($xml); 182 $serializer->serialize($xml);
183 $xml_load = $serializer->getSerializedData(); 183 $xml_load = $serializer->getSerializedData();
184 $request->setBody($xml_load); 184 $request->setBody($xml_load);
185 return $request->send()->getBody(); 185 return $request->send()->getBody();
186 } 186 }
-   187
-   188 function admin_get_agents($region_name, $include_children) {
-   189 $request = new HTTP_Request2($this->url, HTTP_Request2::METHOD_POST);
-   190
-   191 $serializer = new XML_Serializer($this->options);
-   192 $xml = array(
-   193 "methodName" => htmlspecialchars('admin_get_agents'),
-   194 "params" =>
-   195 array( "param" =>
-   196 array( "value" =>
-   197 array("struct" =>
-   198 array(
-   199 "member" =>
-   200 array(
-   201 "name" => 'password',
-   202 "value" => array(
-   203 "string" => htmlspecialchars($this->raPassword)
-   204 ),
-   205 ),
-   206 array(
-   207 "name" => 'region_name',
-   208 "value" => htmlspecialchars($region_name)
-   209 ),
-   210 array(
-   211 "name" => 'include_children',
-   212 "value" => htmlspecialchars($include_children)
-   213 ),
-   214 ),
-   215 ),
-   216 ),
-   217 ),
-   218 );
-   219
-   220 $serializer->serialize($xml);
-   221 $xml_load = $serializer->getSerializedData();
-   222 $request->setBody($xml_load);
-   223 return $request->send()->getBody();
-   224 }
187 } 225 }