示例#1
0
 /**
  * Call system.methodSignature() for the given method
  *
  * @param  array  $method
  * @return array  array(array(return, param, param, param...))
  */
 public function getMethodSignature($method)
 {
     $signature = $this->_system->methodSignature($method);
     if (!is_array($signature)) {
         $error = 'Invalid signature for method "' . $method . '"';
         throw new Zend_XmlRpc_Client_IntrospectException($error);
     }
     return $signature;
 }
示例#2
0
 /**
  * Call system.methodSignature() for the given method
  *
  * @param  array  $method
  * @return array  array(array(return, param, param, param...))
  */
 public function getMethodSignature($method)
 {
     $signature = $this->_system->methodSignature($method);
     if (!is_array($signature)) {
         $error = 'Invalid signature for method "' . $method . '"';
         require_once PHP_LIBRARY_PATH . 'Zend/XmlRpc/Client/IntrospectException.php';
         throw new Zend_XmlRpc_Client_IntrospectException($error);
     }
     return $signature;
 }
 /**
  * Call system.methodSignature() for the given method
  *
  * @param  array  $method
  * @return array  array(array(return, param, param, param...))
  */
 public function getMethodSignature($method)
 {
     $signature = $this->_system->methodSignature($method);
     return $signature;
 }