Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
XMLTypeDescription Class Reference
Inheritance diagram for XMLTypeDescription:

Public Member Functions

 checkType (&$object)
 getNamespace ()
 parseTypeName ($typeName)
 XMLTypeDescription ($typeName)
- Public Member Functions inherited from TypeDescription
 _parseTypeNameInternally ($typeName)
 checkType (&$object)
 getNamespace ()
 getTypeDescription ()
 getTypeName ()
 isCompatible (&$object)
 parseTypeName ($typeName)
 TypeDescription ($typeName)

Detailed Description

Class that describes an XML input/output type.

Type descriptors follow the syntax: xml::validation-schema({xsd|dtd|rng})

Example: xml::schema(

XML input/output can be either represented as a string or as a DOMDocument object.

NB: XML validation currently requires PHP5

Definition at line 33 of file

Member Function Documentation

XMLTypeDescription::checkType ( $object)
See Also

Definition at line 102 of file

XMLTypeDescription::getNamespace ( )
See Also

Definition at line 58 of file

XMLTypeDescription::parseTypeName (   $typeName)
See Also

Definition at line 69 of file

XMLTypeDescription::XMLTypeDescription (   $typeName)


$typeNamestring Allowed primitive types are 'integer', 'string', 'float' and 'boolean'.

Definition at line 47 of file

The documentation for this class was generated from the following file: