[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
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: | 666 lines (23 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Zend_Soap_Wsdl:: (25 methods):
__construct()
setUri()
setComplexTypeStrategy()
getComplexTypeStrategy()
addMessage()
addPortType()
addPortOperation()
addBinding()
addBindingOperation()
addSoapBinding()
addSoapOperation()
addService()
addDocumentation()
addTypes()
addType()
getTypes()
getSchema()
toXML()
toDomDocument()
dump()
getType()
addSchemaTypeSection()
addComplexType()
_parseElement()
addElement()
Class: Zend_Soap_Wsdl - X-Ref
Zend_Soap_Wsdl__construct($name, $uri, $strategy = true) X-Ref |
Constructor param: string $name Name of the Web Service being Described param: string $uri URI where the WSDL will be available param: boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy |
setUri($uri) X-Ref |
Set a new uri for this WSDL param: string|Zend_Uri_Http $uri return: Zend_Server_Wsdl |
setComplexTypeStrategy($strategy) X-Ref |
Set a strategy for complex type detection and handling param: boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy return: Zend_Soap_Wsdl |
getComplexTypeStrategy() X-Ref |
Get the current complex type strategy return: Zend_Soap_Wsdl_Strategy_Interface |
addMessage($name, $parts) X-Ref |
Add a {@link http://www.w3.org/TR/wsdl#_messages message} element to the WSDL param: string $name Name for the {@link http://www.w3.org/TR/wsdl#_messages message} param: array $parts An array of {@link http://www.w3.org/TR/wsdl#_message parts} return: object The new message's XML_Tree_Node for use in {@link function addDocumentation} |
addPortType($name) X-Ref |
Add a {@link http://www.w3.org/TR/wsdl#_porttypes portType} element to the WSDL param: string $name portType element's name return: object The new portType's XML_Tree_Node for use in {@link function addPortOperation} and {@link function addDocumentation} |
addPortOperation($portType, $name, $input = false, $output = false, $fault = false) X-Ref |
Add an {@link http://www.w3.org/TR/wsdl#_request-response operation} element to a portType element param: object $portType a portType XML_Tree_Node, from {@link function addPortType} param: string $name Operation name param: string $input Input Message param: string $output Output Message param: string $fault Fault Message return: object The new operation's XML_Tree_Node for use in {@link function addDocumentation} |
addBinding($name, $portType) X-Ref |
Add a {@link http://www.w3.org/TR/wsdl#_bindings binding} element to WSDL param: string $name Name of the Binding param: string $type name of the portType to bind return: object The new binding's XML_Tree_Node for use with {@link function addBindingOperation} and {@link function addDocumentation} |
addBindingOperation($binding, $name, $input = false, $output = false, $fault = false) X-Ref |
Add an operation to a binding element param: object $binding A binding XML_Tree_Node returned by {@link function addBinding} param: array $input An array of attributes for the input element, allowed keys are: 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information} param: array $output An array of attributes for the output element, allowed keys are: 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information} param: array $fault An array of attributes for the fault element, allowed keys are: 'name', 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information} return: object The new Operation's XML_Tree_Node for use with {@link function addSoapOperation} and {@link function addDocumentation} |
addSoapBinding($binding, $style = 'document', $transport = 'http:) X-Ref |
Add a {@link http://www.w3.org/TR/wsdl#_soap:binding SOAP binding} element to a Binding element param: object $binding A binding XML_Tree_Node returned by {@link function addBinding} param: string $style binding style, possible values are "rpc" (the default) and "document" param: string $transport Transport method (defaults to HTTP) return: boolean |
addSoapOperation($binding, $soap_action) X-Ref |
Add a {@link http://www.w3.org/TR/wsdl#_soap:operation SOAP operation} to an operation element param: object $operation An operation XML_Tree_Node returned by {@link function addBindingOperation} param: string $soap_action SOAP Action return: boolean |
addService($name, $port_name, $binding, $location) X-Ref |
Add a {@link http://www.w3.org/TR/wsdl#_services service} element to the WSDL param: string $name Service Name param: string $port_name Name of the port for the service param: string $binding Binding for the port param: string $location SOAP Address for the service return: object The new service's XML_Tree_Node for use with {@link function addDocumentation} |
addDocumentation($input_node, $documentation) X-Ref |
Add a documentation element to any element in the WSDL. Note that the WSDL {@link http://www.w3.org/TR/wsdl#_documentation specification} uses 'document', but the WSDL {@link http://schemas.xmlsoap.org/wsdl/ schema} uses 'documentation' instead. The {@link http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#WSDL_documentation_Element WS-I Basic Profile 1.1} recommends using 'documentation'. param: object $input_node An XML_Tree_Node returned by another method to add the documentation to param: string $documentation Human readable documentation for the node return: DOMElement The documentation element |
addTypes($types) X-Ref |
Add WSDL Types element param: object $types A DomDocument|DomNode|DomElement|DomDocumentFragment with all the XML Schema types defined in it |
addType($type) X-Ref |
Add a complex type name that is part of this WSDL and can be used in signatures. param: string $type return: Zend_Soap_Wsdl |
getTypes() X-Ref |
Return an array of all currently included complex types return: array |
getSchema() X-Ref |
Return the Schema node of the WSDL return: DOMElement |
toXML() X-Ref |
Return the WSDL as XML return: string WSDL as XML |
toDomDocument() X-Ref |
Return DOM Document return: object DomDocum ent |
dump($filename = false) X-Ref |
Echo the WSDL as XML return: boolean |
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 |
addSchemaTypeSection() X-Ref |
This function makes sure a complex types section and schema additions are set. return: Zend_Soap_Wsdl |
addComplexType($type) X-Ref |
Add a {@link http://www.w3.org/TR/wsdl#_types types} data type definition param: string $type Name of the class to be specified return: string XSD Type for the given PHP type |
_parseElement($element) X-Ref |
Parse an xsd:element represented as an array into a DOMElement. param: array $element an xsd:element represented as an array return: DOMElement parsed element |
addElement($element) X-Ref |
Add an xsd:element represented as an array to the schema. Array keys represent attribute names and values their respective value. The 'sequence', 'all' and 'choice' keys must have an array of elements as their value, to add them to a nested complexType. Example: array( 'name' => 'MyElement', 'sequence' => array( array('name' => 'myString', 'type' => 'string'), array('name' => 'myInteger', 'type' => 'int') ) ); Resulting XML: <xsd:element name="MyElement"><xsd:complexType><xsd:sequence> <xsd:element name="myString" type="string"/> <xsd:element name="myInteger" type="int"/> </xsd:sequence></xsd:complexType></xsd:element> param: array $element an xsd:element represented as an array return: string xsd:element for the given element array |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |