eZ Publish  [trunk]
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 11 of file ezxmlschema.php.


Member Function Documentation

eZXMLSchema::addAvailableClass ( tagName,
class 
)

Definition at line 407 of file ezxmlschema.php.

eZXMLSchema::addCustomAttribute ( element,
attrName 
)

Definition at line 415 of file ezxmlschema.php.

eZXMLSchema::attrDefaultValue ( tagName,
attrName 
)

Definition at line 356 of file ezxmlschema.php.

Definition at line 364 of file ezxmlschema.php.

eZXMLSchema::attributes ( element)

Definition at line 329 of file ezxmlschema.php.

Definition at line 394 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 266 of file ezxmlschema.php.

Definition at line 313 of file ezxmlschema.php.

Definition at line 334 of file ezxmlschema.php.

eZXMLSchema::exists ( element)

Definition at line 372 of file ezxmlschema.php.

Definition at line 142 of file ezxmlschema.php.

Referenced by instance().

Definition at line 399 of file ezxmlschema.php.

Definition at line 321 of file ezxmlschema.php.

static eZXMLSchema::instance ( ) [static]

Returns a shared instance of the eZXMLSchema class.

Returns:
eZXMLSchema

Definition at line 220 of file ezxmlschema.php.

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

eZXMLSchema::isInline ( element)

Definition at line 231 of file ezxmlschema.php.

Referenced by check().


Member Data Documentation

eZXMLSchema::$Schema

Definition at line 13 of file ezxmlschema.php.


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