Class

eZXMLSchema

class eZXMLSchema

File containing the eZXMLSchema class.

Properties

$Schema

Methods

__construct()

Constructor

isInline($element)

check($parent, $child)

childrenRequired($element)

hasAttributes($element)

attributes($element)

customAttributes($element)

attrDefaultValue($tagName, $attrName)

attrDefaultValues($tagName)

exists($element)

availableElements()

getClassesList($tagName)

addAvailableClass($tagName, $class)

addCustomAttribute($element, $attrName)

Details

at line 145
public __construct()

Constructor

at line 234
public isInline($element)

Parameters

$element

at line 269
public check($parent, $child)

Parameters

$parent
$child

at line 316
public childrenRequired($element)

Parameters

$element

at line 324
public hasAttributes($element)

Parameters

$element

at line 332
public attributes($element)

Parameters

$element

at line 337
public customAttributes($element)

Parameters

$element

at line 359
public attrDefaultValue($tagName, $attrName)

Parameters

$tagName
$attrName

at line 367
public attrDefaultValues($tagName)

Parameters

$tagName

at line 375
public exists($element)

Parameters

$element

at line 397
public availableElements()

at line 402
public getClassesList($tagName)

Parameters

$tagName

at line 410
public addAvailableClass($tagName, $class)

Parameters

$tagName
$class

at line 418
public addCustomAttribute($element, $attrName)

Parameters

$element
$attrName