Class: Service
Source Location: /webservices.inc.php
|
|
|
|
|
|
|
Inherited Properties
|
Inherited Events
|
Inherited JS Events
|
Inherited Methods
|
|
Properties
Events
Javascript Events
Methods
Service __construct(
[
$aowner = null])
|
|
Overrides Component::__construct (Constructor)
Parameters:
void
addComplexType [line 190]
void addComplexType(
name
$name, [typeClass
$typeClass = 'complexType'], [phpType:
$phpType = 'array'], [compositor
$compositor = ''], [restrictionBase
$restrictionBase = ''], [elements
$elements = array()], [attrs
$attrs = array()], [arrayType:
$arrayType = ''])
|
|
adds a complex type to the schema example: array addType( 'ArrayOfstring', 'complexType', 'array', '', 'SOAP-ENC:Array', array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'string[]'), 'xsd:string' ); example: PHP associative array ( SOAP Struct ) addType( 'SOAPStruct', 'complexType', 'struct', 'all', array('myVar'=> array('name'=>'myVar','type'=>'string') );
Tags:
Parameters:
void
init [line 91]
Overrides Component::init (To initialize a component, the right place to process events)
void
register [line 142]
void register(
string
$name, [array
$in = array()], [array
$out = array()], [mixed
$namespace = false], [mixed
$soapaction = false], [mixed
$style = false], [mixed
$use = false], [string
$documentation = ''], [string
$encodingStyle = ''])
|
|
register a service function with the server
Tags:
Parameters:
|
|