Documentation TYPO3 par Ameos |
Public Member Functions | |
XMLSchema ($schema='', $xml='', $namespaces=array()) | |
parseFile ($xml, $type) | |
parseString ($xml, $type) | |
schemaStartElement ($parser, $name, $attrs) | |
schemaEndElement ($parser, $name) | |
schemaCharacterData ($parser, $data) | |
serializeSchema () | |
xdebug ($string) | |
getPHPType ($type, $ns) | |
getTypeDef ($type) | |
serializeTypeDef ($type) | |
typeToForm ($name, $type) | |
addComplexType ($name, $typeClass='complexType', $phpType='array', $compositor='', $restrictionBase='', $elements=array(), $attrs=array(), $arrayType='') | |
addSimpleType ($name, $restrictionBase='', $typeClass='simpleType', $phpType='scalar', $enumeration=array()) | |
addElement ($attrs) | |
Public Attributes | |
$schema = '' | |
$xml = '' | |
$enclosingNamespaces | |
$schemaInfo = array() | |
$schemaTargetNamespace = '' | |
$attributes = array() | |
$complexTypes = array() | |
$complexTypeStack = array() | |
$currentComplexType = null | |
$elements = array() | |
$elementStack = array() | |
$currentElement = null | |
$simpleTypes = array() | |
$simpleTypeStack = array() | |
$currentSimpleType = null | |
$imports = array() | |
$parser | |
$position = 0 | |
$depth = 0 | |
$depth_array = array() | |
$message = array() | |
$defaultNamespace = array() |
Definition at line 993 of file class.nusoap.php.
|
constructor
Definition at line 1032 of file class.nusoap.php. References nusoap_base::$namespaces, $schema, $xml, nusoap_base::debug(), and parseFile(). |
|
adds a complex type to the schema example: array addType( 'ArrayOfstring', 'complexType', 'array', '', 'SOAP-ENC:Array', array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'string[]'), 'xsd:string' ); example: PHP associative array ( SOAP Struct ) addType( 'SOAPStruct', 'complexType', 'struct', 'all', array('myVar'=> array('name'=>'myVar','type'=>'string') );
Definition at line 1819 of file class.nusoap.php. |
|
adds an element to the schema
Definition at line 1867 of file class.nusoap.php. |
|
adds a simple type to the schema
Definition at line 1847 of file class.nusoap.php. |
|
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'
Definition at line 1609 of file class.nusoap.php. |
|
returns an associative array of information about a given type returns false if no type exists by the given name For a complexType typeDef = array( 'restrictionBase' => '', 'phpType' => '', 'compositor' => '(sequence|all)', 'elements' => array(), // refs to elements array 'attrs' => array() // refs to attributes array ... and so on (see addComplexType) ) For simpleType or element, the array has different keys.
Definition at line 1642 of file class.nusoap.php. |
|
parse an XML file
Definition at line 1065 of file class.nusoap.php. References $xml, nusoap_base::debug(), parseString(), and nusoap_base::setError(). Referenced by XMLSchema(). |
|
parse an XML string
Definition at line 1091 of file class.nusoap.php. References $xml, nusoap_base::debug(), schemaCharacterData(), schemaEndElement(), schemaStartElement(), and nusoap_base::setError(). Referenced by parseFile(). |
|
element content handler
Definition at line 1471 of file class.nusoap.php. Referenced by parseString(). |
|
end-element handler
Definition at line 1434 of file class.nusoap.php. Referenced by parseString(). |
|
start-element handler
Definition at line 1139 of file class.nusoap.php. References $depth, nusoap_base::expandQname(), nusoap_base::getLocalPart(), nusoap_base::getPrefix(), and nusoap_base::getPrefixFromNamespace(). Referenced by parseString(). |
|
serialize the schema public Definition at line 1481 of file class.nusoap.php. |
|
returns a sample serialization of a given type, or false if no type by the given name
Definition at line 1711 of file class.nusoap.php. |
|
returns HTML form elements that allow a user to enter values for creating an instance of the given type.
Definition at line 1747 of file class.nusoap.php. |
|
adds debug data to the clas level debug string
Definition at line 1593 of file class.nusoap.php. |