service/core/PHP5Soap.php

Show: inherited
Table of Contents

\PHP5Soap

Package:

This ia an abstract class for the soapservice. All the global fun

All type of web services should provide proper implementation of all the abstract methods

Parent(s)
\SugarSoapService < \SugarWebService

Properties

Propertyprotected  $excludeFunctions= 'array()'
Default valuearray()Details
Type
n/a
Inherited_from
\SugarWebService::$$excludeFunctions  
Inherited_from
\SugarSoapService::$$excludeFunctions  
Propertyprotected  $implementationClass= ''SugarWebServiceImpl''
inheritedInherited from: \SugarSoapService::$$implementationClass
Default value'SugarWebServiceImpl'Details
Type
n/a
Inherited_from
\SugarSoapService::$$implementationClass  
Propertyprotected  $namespace= ''http://www.sugarcrm.com/sugarcrm''
inheritedInherited from: \SugarSoapService::$$namespace
Default value'http://www.sugarcrm.com/sugarcrm'Details
Type
n/a
Inherited_from
\SugarSoapService::$$namespace  
Propertyprivate  $nusoap_server= 'null'
Default valuenullDetails
Type
n/a
Propertyprotected  $registryClass= '""'
inheritedInherited from: \SugarSoapService::$$registryClass
Default value""Details
Type
n/a
Inherited_from
\SugarSoapService::$$registryClass  
Propertyprotected  $server= 'null'
Default valuenullDetails
Type
n/a
Inherited_from
\SugarWebService::$$server  
Inherited_from
\SugarSoapService::$$server  
Propertyprotected  $soapURL= '""'
inheritedInherited from: \SugarSoapService::$$soapURL
Default value""Details
Type
n/a
Inherited_from
\SugarSoapService::$$soapURL  
Propertyprotected  $soap_version= ''1.1''
inheritedInherited from: \SugarSoapService::$$soap_version
Default value'1.1'Details
Type
n/a
Inherited_from
\SugarSoapService::$$soap_version  

Methods

methodpublic__construct(  $url ) : void

Constructor

Parameters
Name Type Description
$url
methodpublicerror(  $errorObject ) : void

Parameters
Name Type Description
$errorObject
methodprivategenerateNuSoap( ) : void

methodprivategenerateSoapServer( ) : void

methodpublicgetNameSpace( ) : String

This method returns the namespace

Returns
Type Description
String - namespace
methodpublicgetRegisteredClass( ) : String
inherited

This mehtod returns registry class

Inherited from: \SugarSoapService::getRegisteredClass()
Returns
Type Description
String - registryClass
Details
Access
public  
methodpublicgetRegisteredImplClass( ) : String
inherited

This mehtod returns registered implementation class

Inherited from: \SugarSoapService::getRegisteredImplClass()
Returns
Type Description
String - implementationClass
Details
Access
public  
methodpublicgetServer( ) : String
inherited

This mehtod returns server

Inherited from: \SugarSoapService::getServer()
Returns
Type Description
String -server
Details
Access
public  
methodpublicgetSoapURL( ) : String
inherited

This method returns the soapURL

Inherited from: \SugarSoapService::getSoapURL()
Returns
Type Description
String - soapURL
Details
Access
public  
methodpublicgetSoapVersion( ) : void
inherited

Inherited from: \SugarSoapService::getSoapVersion()
methodpublicgetWSDLPath(  $generateWSDL ) : void

Parameters
Name Type Description
$generateWSDL
methodpublicregister(  $excludeFunctions = array() ) : void
Parameters
Name Type Description
$excludeFunctions
methodpublicregisterClass(  $registryClass ) : void

Parameters
Name Type Description
$registryClass
methodpublicregisterFunction( String $function, Array $input, Array $output ) : void

This is an abstract method. The implementation method should registers all the functions you want to expose as services.

Parameters
Name Type Description
$function String
  • name of the function
$input Array
  • assoc array of input values: key = param name, value = param type
$output Array
  • assoc array of output values: key = param name, value = param type
methodpublicregisterImplClass(  $implementationClass ) : void

Parameters
Name Type Description
$implementationClass
methodpublicregisterType( String $name, String $typeClass, String $phpType, String $compositor, String $restrictionBase, Array $elements, Array $attrs = array(), String $arrayType = '' ) : void

This is an abstract method. This implementation method should register all the complex type

Parameters
Name Type Description
$name String
  • name of complex type
$typeClass String
  • (complexType|simpleType|attribute)
$phpType String
  • array or struct
$compositor String
  • (all|sequence|choice)
$restrictionBase String
  • SOAP-ENC:Array or empty
$elements Array
  • array ( name => array(name=>'',type=>'') )
$attrs Array
  • array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'xsd:string[]'))
$arrayType String
  • arrayType: namespace:name (xsd:string)
methodpublicserve( ) :

Serves the Soap Request

methodpublicsetObservers( ) : void

This method sets the soap server object on all the observers

methodpublicsetSoapVersion( \$version $version = '1.1' ) :

This function allows specifying what version of PHP soap to use PHP soap supports version 1.1 and 1.2.

Parameters
Name Type Description
$version \$version

String[optional]

Documentation was generated by DocBlox 0.18.1.