XML_RPC2
[ class tree: XML_RPC2 ] [ index: XML_RPC2 ] [ all elements ]

Class: XML_RPC2_Server_Method

Source Location: /XML_RPC2-1.1.2/XML/RPC2/Server/Method.php

Class Overview


Class representing an XML-RPC exported method.


Author(s):

Copyright:

  • 2004-2006 Sergio Carvalho

Methods


Inherited Variables

Inherited Methods


Class Details

[line 59]
Class representing an XML-RPC exported method.

This class is used internally by XML_RPC2_Server. External users of the package should not need to ever instantiate XML_RPC2_Server_Method



[ Top ]


Method Detail

__construct (Constructor)   [line 160]

XML_RPC2_Server_Method __construct( ReflectionMethod $method, string $defaultPrefix)

Create a new XML-RPC method by introspecting a PHP method
  • Access: public

Parameters:

ReflectionMethod   $method   —  The PHP method to introspect
string   $defaultPrefix   —  default prefix

[ Top ]

autoDocument   [line 324]

void autoDocument( )

Print a complete HTML description of the method
  • Access: public

[ Top ]

getHTMLSignature   [line 288]

string getHTMLSignature( )

Return a HTML signature of the method
  • Return: HTML signature
  • Access: public

[ Top ]

getInternalMethod   [line 120]

string getInternalMethod( )

internalMethod getter
  • Return: internalMethod
  • Access: public

[ Top ]

getName   [line 146]

string getName( )

name getter
  • Return: name
  • Access: public

[ Top ]

isHidden   [line 133]

boolean isHidden( )

hidden getter
  • Return: hidden value
  • Access: public

[ Top ]

matchesSignature   [line 261]

boolean matchesSignature( string $methodName, array $callParams)

Check if method matches provided call signature

Compare the provided call signature with this methods' signature and return true iff they match.

  • Return: True if call matches signature, false otherwise
  • Access: public

Parameters:

string   $methodName   —  Signature to compare method name
array   $callParams   —  Array of parameter values for method call.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:56:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.