nusoap_server::register
register a service function with the server
Signature
public function register(string
$name,
[array
$in = ,
[array
$out = ,
[boolean
$namespace = false,
[boolean
$soapaction = false,
[boolean
$style = false,
[boolean
$use = false,
[string
$documentation = '',
[string
$encodingStyle = '']]]]]]]] )
Parameters
$name
—
string
- the name of the PHP function, class.method or class..method
$in
—
array
- assoc array of input values: key = param name, value = param type
$out
—
array
- assoc array of output values: key = param name, value = param type
$namespace
—
boolean
- the element namespace for the method or false
$soapaction
—
boolean
- the soapaction for the method or false
$style
—
boolean
- optional (rpc|document) or false Note: when 'document' is specified, parameter and return wrappers are created for you automatically
$use
—
boolean
- optional (encoded|literal) or false
$documentation
—
string
- optional Description to include in WSDL
$encodingStyle
—
string
- optional (usually 'http://schemas.xmlsoap.org/soap/encoding/' for encoded)