Class nusoap_xmlschema
parses an XML Schema, allows access to it's data, other utility methods. imperfect, no validation... yet, but quite functional.
- nusoap_base
-
nusoap_xmlschema
Direct known subclasses
XMLSchemaAuthor: Scott Nichol <snichol@users.sourceforge.net>
Version: $Id: nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp $
Located at wa-plugins/payment/qiwi/vendors/nusoap/nusoap.php
public
|
#
nusoap_xmlschema( string $schema = '', string $xml = '', string $namespaces = array() )
constructor |
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
#
getPHPType( string $type, string $ns )
get the PHP type of a user defined type in the schema PHP type is kind of a misnomer since it actually returns 'struct' for assoc. arrays returns false if no type exists, or not w/ the given namespace else returns a string that is either a native php type, or 'struct' |
public
mixed
|
#
getTypeDef( string $type )
returns an associative array of information about a given type returns false if no type exists by the given name |
public
mixed
|
#
serializeTypeDef( string $type )
returns a sample serialization of a given type, or false if no type by the given name |
public
string
|
#
typeToForm( string $name, string $type )
returns HTML form elements that allow a user to enter values for creating an instance of the given type. |
public
|
#
addComplexType( name $name, typeClass $typeClass = 'complexType', phpType: $phpType = 'array', compositor $compositor = '', restrictionBase $restrictionBase = '',
adds a complex type to the schema |
public
|
#
addSimpleType( string $name, string $restrictionBase = '', string $typeClass = 'simpleType', string $phpType = 'scalar', array $enumeration = array() )
adds a simple type to the schema |
public
|
public
string
|
$schema | '' |
|
public
string
|
$xml | '' |
|
public
mixed
|
$enclosingNamespaces |
|
|
public
array
|
$schemaInfo | array() |
|
public
string
|
$schemaTargetNamespace | '' |
|
public
array
|
$attributes | array() |
|
public
array
|
$complexTypes | array() |
|
public
array
|
$complexTypeStack | array() |
|
public
mixed
|
$currentComplexType | null |
|
public
array
|
$elements | array() |
|
public
array
|
$elementStack | array() |
|
public
mixed
|
$currentElement | null |
|
public
array
|
$simpleTypes | array() |
|
public
array
|
$simpleTypeStack | array() |
|
public
mixed
|
$currentSimpleType | null |
|
public
array
|
$imports | array() |
|
public
mixed
|
$parser |
|
|
public
integer
|
$position | 0 |
|
public
integer
|
$depth | 0 |
|
public
array
|
$depth_array | array() |
|
public
array
|
$message | array() |
|
public
array
|
$defaultNamespace | array() |
$XMLSchemaVersion,
$charencoding,
$debugLevel,
$debug_str,
$error_str,
$namespaces,
$revision,
$soap_defencoding,
$title,
$typemap,
$usedNamespaces,
$version,
$xmlEntities
|