eZ Publish  [4.2]
eZXMLSchema Class Reference

List of all members.

Public Member Functions

 addAvailableClass ($tagName, $class)
 addCustomAttribute ($element, $attrName)
 attrDefaultValue ($tagName, $attrName)
 attrDefaultValues ($tagName)
 attributes ($element)
 availableElements ()
 check ($parent, $child)
 childrenRequired ($element)
 customAttributes ($element)
 exists ($element)
 eZXMLSchema ()
 getClassesList ($tagName)
 hasAttributes ($element)
 isInline ($element)

Static Public Member Functions

static instance ()
 Returns a shared instance of the eZXMLSchema class.

Public Attributes

 $Schema

Detailed Description

Definition at line 31 of file ezxmlschema.php.


Member Function Documentation

eZXMLSchema::addAvailableClass ( tagName,
class 
)

Definition at line 427 of file ezxmlschema.php.

eZXMLSchema::addCustomAttribute ( element,
attrName 
)

Definition at line 435 of file ezxmlschema.php.

eZXMLSchema::attrDefaultValue ( tagName,
attrName 
)

Definition at line 376 of file ezxmlschema.php.

eZXMLSchema::attrDefaultValues ( tagName)

Definition at line 384 of file ezxmlschema.php.

eZXMLSchema::attributes ( element)

Definition at line 349 of file ezxmlschema.php.

eZXMLSchema::availableElements ( )

Definition at line 414 of file ezxmlschema.php.

eZXMLSchema::check ( parent,
child 
)

Checks if one element is allowed to be a child of another

Parameters:
$parentparent element: DOMNode or string
$childchild element: DOMNode or string
Returns:
true if elements match schema
false if elements don't match schema
null in case of errors

Definition at line 286 of file ezxmlschema.php.

eZXMLSchema::childrenRequired ( element)

Definition at line 333 of file ezxmlschema.php.

eZXMLSchema::customAttributes ( element)

Definition at line 354 of file ezxmlschema.php.

eZXMLSchema::exists ( element)

Definition at line 392 of file ezxmlschema.php.

eZXMLSchema::eZXMLSchema ( )

Definition at line 162 of file ezxmlschema.php.

Referenced by instance().

eZXMLSchema::getClassesList ( tagName)

Definition at line 419 of file ezxmlschema.php.

eZXMLSchema::hasAttributes ( element)

Definition at line 341 of file ezxmlschema.php.

static eZXMLSchema::instance ( ) [static]

Returns a shared instance of the eZXMLSchema class.

Returns:
eZXMLSchema

Definition at line 240 of file ezxmlschema.php.

Referenced by eZXMLInputParser\eZXMLInputParser(), eZXMLSchema(), eZXMLOutputHandler\outputText(), and eZSimplifiedXMLEditOutput\performOutput().

eZXMLSchema::isInline ( element)

Definition at line 251 of file ezxmlschema.php.

Referenced by check().


Member Data Documentation

eZXMLSchema::$Schema

Definition at line 33 of file ezxmlschema.php.


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