eZPublish  3.8
eZSchemaElement Class Reference

eZSchemaElement handles schema validation elements More...

Public Member Functions

 children ()
 
 dataType ()
 
 eZSchemaElement ()
 
 isComplex ()
 
 isReference ()
 
 isSimple ()
 
 maxOccurs ()
 
 minOccurs ()
 
 name ()
 
 nextElement ()
 
 parentElement ()
 
 setDataType ($type)
 
 setMaxOccurs ($value)
 
 setMinOccurs ($value)
 
 setName ($name)
 
 setNext ($element)
 
 setParent ($element)
 
 setReference ($value)
 
 setType ($type)
 
 type ()
 

Public Attributes

 $Children = array()
 The sub elements of this element. More...
 
 $DataType = false
 The datatype of the element. More...
 
 $MaxOccurs = 1
 The maximum number of occurances of the element. More...
 
 $MinOccurs = 1
 The minimum number of occurances of the element. More...
 
 $Name = ""
 The name of the element. More...
 
 $NextElement = false
 The next element in the schema. More...
 
 $ParentElement = false
 The parent element. More...
 
 $Reference = false
 Reference to element. More...
 
 $Type = "simpleType"
 The schema type. More...
 

Detailed Description

eZSchemaElement handles schema validation elements

Member Function Documentation

eZSchemaElement::children ( )

Returns the children nodes for this schema element.

eZSchemaElement::dataType ( )

The data type for simple types. False if not set.

eZSchemaElement::eZSchemaElement ( )

Constructs a new eZSchemaElement object.

eZSchemaElement::isComplex ( )

Returns true if the type is complex, false if it's a simpletpe.

eZSchemaElement::isReference ( )

Returns true if the element is a reference.

eZSchemaElement::isSimple ( )

Returns true if the type is a simple type, false if it's a complex type.

eZSchemaElement::maxOccurs ( )

Returns the maximum number of occurances of this element.

eZSchemaElement::minOccurs ( )

Returns the minimum number of occurances of this element.

eZSchemaElement::name ( )

Returns the name of the schema element.

eZSchemaElement::nextElement ( )

Returns the next element. False

eZSchemaElement::parentElement ( )

Returns the parent element. False

eZSchemaElement::setDataType (   $type)

Sets the datatype of the element.

eZSchemaElement::setMaxOccurs (   $value)

Sets the maximum number of occurances for this element

eZSchemaElement::setMinOccurs (   $value)

Sets the minum number of occurances for this element

eZSchemaElement::setName (   $name)

Sets the elment name

eZSchemaElement::setNext (   $element)

Sets the next element

eZSchemaElement::setParent (   $element)

Sets the parent element

eZSchemaElement::setReference (   $value)

Sets the reference identifier.

eZSchemaElement::setType (   $type)

Sets the type of the element, can either be simpleType, complexType or reference.

eZSchemaElement::type ( )

Returns the schema element type.

Member Data Documentation

eZSchemaElement::$Children = array()

The sub elements of this element.

Referenced by children().

eZSchemaElement::$DataType = false

The datatype of the element.

Referenced by dataType().

eZSchemaElement::$MaxOccurs = 1

The maximum number of occurances of the element.

Referenced by maxOccurs().

eZSchemaElement::$MinOccurs = 1

The minimum number of occurances of the element.

Referenced by minOccurs().

eZSchemaElement::$Name = ""

The name of the element.

Referenced by name().

eZSchemaElement::$NextElement = false

The next element in the schema.

Referenced by nextElement().

eZSchemaElement::$ParentElement = false

The parent element.

Referenced by parentElement().

eZSchemaElement::$Reference = false

Reference to element.

eZSchemaElement::$Type = "simpleType"

The schema type.

Referenced by type().


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