xmlrpc_server_methods_container

Used to test usage of object methods in dispatch maps and in wrapper code.

Defined (1)

The class is defined in the following location(s).

/src/xmlrpc-3.0/demo/server/server.php  
  1. class xmlrpc_server_methods_container 
  2. /** 
  3. * Method used to test logging of php warnings generated by user functions. 
  4. */ 
  5. function phpwarninggenerator($m) 
  6. $a = $b; // this triggers a warning in E_ALL mode, since $b is undefined 
  7. return new xmlrpcresp(new xmlrpcval(1, 'boolean')); 
  8.  
  9. /** 
  10. * Method used to testcatching of exceptions in the server. 
  11. */ 
  12. function exceptiongenerator($m) 
  13. throw new Exception("it's just a test", 1); 
  14.  
  15. /** 
  16. * a PHP version of the state-number server. Send me an integer and i'll sell you a state 
  17. * @param integer $s 
  18. * @return string 
  19. */ 
  20. static function findstate($s) 
  21. return inner_findstate($s);