[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Soap/ -> AutoDiscover.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 548 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Soap_AutoDiscover:: (20 methods):
  __construct()
  setUri()
  getUri()
  setOperationBodyStyle()
  setBindingStyle()
  getSchema()
  getHostName()
  getRequestUriWithoutParameters()
  setComplexTypeStrategy()
  setClass()
  addFunction()
  _addFunctionToWsdl()
  fault()
  handle()
  dump()
  toXml()
  getFunctions()
  loadFunctions()
  setPersistence()
  getType()


Class: Zend_Soap_AutoDiscover  - X-Ref

Zend_Soap_AutoDiscover

__construct($strategy = true, $uri=null)   X-Ref
Constructor

param: boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy
param: string|Zend_Uri $uri

setUri($uri)   X-Ref
Set the location at which the WSDL file will be availabe.

param: Zend_Uri|string $uri
return: Zend_Soap_AutoDiscover

getUri()   X-Ref
Return the current Uri that the SOAP WSDL Service will be located at.

return: Zend_Uri

setOperationBodyStyle(array $operationStyle=array()   X-Ref
Set options for all the binding operations soap:body elements.

By default the options are set to 'use' => 'encoded' and
'encodingStyle' => "http://schemas.xmlsoap.org/soap/encoding/".

param: array $operationStyle
return: Zend_Soap_AutoDiscover

setBindingStyle(array $bindingStyle=array()   X-Ref
Set Binding soap:binding style.

By default 'style' is 'rpc' and 'transport' is 'http://schemas.xmlsoap.org/soap/http'.

param: array $bindingStyle
return: Zend_Soap_AutoDiscover

getSchema()   X-Ref
Detect and returns the current HTTP/HTTPS Schema

return: string

getHostName()   X-Ref
Detect and return the current hostname

return: string

getRequestUriWithoutParameters()   X-Ref
Detect and return the current script name without parameters

return: string

setComplexTypeStrategy($strategy)   X-Ref
Set the strategy that handles functions and classes that are added AFTER this call.

param: boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy
return: Zend_Soap_AutoDiscover

setClass($class, $namespace = '', $argv = null)   X-Ref
Set the Class the SOAP server will use

param: string $class Class Name
param: string $namespace Class Namspace - Not Used
param: array $argv Arguments to instantiate the class - Not Used

addFunction($function, $namespace = '')   X-Ref
Add a Single or Multiple Functions to the WSDL

param: string $function Function Name
param: string $namespace Function namespace - Not Used

_addFunctionToWsdl($function, $wsdl, $port, $binding)   X-Ref
Add a function to the WSDL document.

param: $function Zend_Server_Reflection_Function_Abstract function to add
param: $wsdl Zend_Soap_Wsdl WSDL document
param: $port object wsdl:portType
param: $binding object wsdl:binding
return: void

fault($fault = null, $code = null)   X-Ref
Action to take when an error occurs

param: string $fault
param: string|int $code

handle($request = false)   X-Ref
Handle the Request

param: string $request A non-standard request - Not Used

dump($filename)   X-Ref
Proxy to WSDL dump function

param: string $filename

toXml()   X-Ref
Proxy to WSDL toXml() function


getFunctions()   X-Ref
Return an array of functions in the WSDL

return: array

loadFunctions($definition)   X-Ref
Load Functions

param: unknown_type $definition

setPersistence($mode)   X-Ref
Set Persistance

param: int $mode

getType($type)   X-Ref
Returns an XSD Type for the given PHP type

param: string $type PHP Type to get the XSD type for
return: string



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1