EC-CUBE
Public メソッド | 変数
クラス SOAP_WSDL_ObjectParser
SOAP_WSDL_ObjectParserに対する継承グラフ
Inheritance graph
[凡例]
SOAP_WSDL_ObjectParserのコラボレーション図
Collaboration graph
[凡例]

Public メソッド

 SOAP_WSDL_ObjectParser (&$objects, &$wsdl, $targetNamespace, $service_name, $service_desc= '')
 _initialise ($service_name)
 _parse (&$object, $schemaNamespace, $service_name)
 _generateBindingsAndServices ($schemaNamespace, $service_name, $service_desc= '')
 _getTypeNs ($type)

変数

 $tnsPrefix = 'tns'
 $wsdl = null

説明

Parses the types and methods used in web service objects into the internal data structures used by SOAP_WSDL.

Assumes the SOAP_WSDL class is unpopulated to start with.

作者:
Chris Coe <info@intelligentstreaming.com>

関数

_generateBindingsAndServices ( schemaNamespace,
service_name,
service_desc = '' 
)

Takes all the abstract WSDL data and builds concrete bindings and services (destructive).

private

TODO:
Current implementation discards $service_desc.
引数:
string$schemaNamespaceNamespace for types etc.
string$service_nameName of the WSDL <service>.
string$service_descOptional description of the WSDL <service>.
_getTypeNs ( type)

This function is adapted from Dmitri V's implementation of DISCO/WSDL generation. It separates namespace from type name in a __typedef key and creates a new namespace entry in the WSDL structure if the namespace has not been used before. The namespace prefix and type name are returned. If no namespace is specified, xsd is assumed.

We will not need this function anymore once __typedef is eliminated.

_initialise ( service_name)

Initialise the SOAP_WSDL tree (destructive).

If the object has already been initialised, the only effect will be to change the tns namespace to the new service name.

引数:
$service_nameName of the WSDL <service> private
_parse ( &$  object,
schemaNamespace,
service_name 
)

Parser - takes a single object to add to tree (non-destructive).

private

引数:
object$objectReference to the object to parse.
string$schemaNamespace
string$service_nameName of the WSDL <service>.
SOAP_WSDL_ObjectParser ( &$  objects,
&$  wsdl,
targetNamespace,
service_name,
service_desc = '' 
)

Constructor.

引数:
object | array$objectsReference to the object or array of objects to parse.
SOAP_WSDL$wsdlReference to the SOAP_WSDL object to populate.
string$targetNamespaceThe target namespace of schema types etc.
string$service_nameName of the WSDL <service>.
string$service_descOptional description of the WSDL <service>.

構造体

$tnsPrefix = 'tns'

Target namespace for the WSDL document will have the following prefix.

$wsdl = null

Reference to the SOAP_WSDL object to populate.


このクラスの説明は次のファイルから生成されました:
 全て データ構造 ネームスペース 関数 変数