Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe DOMCaster

Fonctions membres publiques statiques

static castException (\DOMException $e, array $a, Stub $stub, bool $isNested)
 
static castLength ($dom, array $a, Stub $stub, bool $isNested)
 
static castImplementation (\DOMImplementation $dom, array $a, Stub $stub, bool $isNested)
 
static castNode (\DOMNode $dom, array $a, Stub $stub, bool $isNested)
 
static castNameSpaceNode (\DOMNameSpaceNode $dom, array $a, Stub $stub, bool $isNested)
 
static castDocument (\DOMDocument $dom, array $a, Stub $stub, bool $isNested, int $filter=0)
 
static castCharacterData (\DOMCharacterData $dom, array $a, Stub $stub, bool $isNested)
 
static castAttr (\DOMAttr $dom, array $a, Stub $stub, bool $isNested)
 
static castElement (\DOMElement $dom, array $a, Stub $stub, bool $isNested)
 
static castText (\DOMText $dom, array $a, Stub $stub, bool $isNested)
 
static castTypeinfo (\DOMTypeinfo $dom, array $a, Stub $stub, bool $isNested)
 
static castDomError (\DOMDomError $dom, array $a, Stub $stub, bool $isNested)
 
static castLocator (\DOMLocator $dom, array $a, Stub $stub, bool $isNested)
 
static castDocumentType (\DOMDocumentType $dom, array $a, Stub $stub, bool $isNested)
 
static castNotation (\DOMNotation $dom, array $a, Stub $stub, bool $isNested)
 
static castEntity (\DOMEntity $dom, array $a, Stub $stub, bool $isNested)
 
static castProcessingInstruction (\DOMProcessingInstruction $dom, array $a, Stub $stub, bool $isNested)
 
static castXPath (\DOMXPath $dom, array $a, Stub $stub, bool $isNested)
 

Champs de données

const DOM_INDEX_SIZE_ERR
 
const XML_ATTRIBUTE_NODE
 

Attributs privés

const ERROR_CODES
 
const NODE_TYPES
 

Description détaillée

Casts DOM related classes to array representation.

Auteur
Nicolas Grekas p@tch.nosp@m.work.nosp@m..com

Documentation des fonctions membres

◆ castAttr()

static castAttr ( \DOMAttr  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castCharacterData()

static castCharacterData ( \DOMCharacterData  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castDocument()

static castDocument ( \DOMDocument  $dom,
array  $a,
Stub  $stub,
bool  $isNested,
int  $filter = 0 
)
static

◆ castDocumentType()

static castDocumentType ( \DOMDocumentType  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castDomError()

static castDomError ( \DOMDomError  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castElement()

static castElement ( \DOMElement  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castEntity()

static castEntity ( \DOMEntity  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castException()

static castException ( \DOMException  $e,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

Références Caster\PREFIX_PROTECTED.

◆ castImplementation()

static castImplementation ( \DOMImplementation  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

Références Caster\PREFIX_VIRTUAL.

◆ castLength()

static castLength (   $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castLocator()

static castLocator ( \DOMLocator  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castNameSpaceNode()

static castNameSpaceNode ( \DOMNameSpaceNode  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castNode()

static castNode ( \DOMNode  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castNotation()

static castNotation ( \DOMNotation  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castProcessingInstruction()

static castProcessingInstruction ( \DOMProcessingInstruction  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castText()

static castText ( \DOMText  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castTypeinfo()

static castTypeinfo ( \DOMTypeinfo  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

◆ castXPath()

static castXPath ( \DOMXPath  $dom,
array  $a,
Stub  $stub,
bool  $isNested 
)
static

Documentation des champs

◆ DOM_INDEX_SIZE_ERR

const DOM_INDEX_SIZE_ERR
Valeur initiale :
=> 'DOM_INDEX_SIZE_ERR',
\DOMSTRING_SIZE_ERR => 'DOMSTRING_SIZE_ERR',
\DOM_HIERARCHY_REQUEST_ERR => 'DOM_HIERARCHY_REQUEST_ERR',
\DOM_WRONG_DOCUMENT_ERR => 'DOM_WRONG_DOCUMENT_ERR',
\DOM_INVALID_CHARACTER_ERR => 'DOM_INVALID_CHARACTER_ERR',
\DOM_NO_DATA_ALLOWED_ERR => 'DOM_NO_DATA_ALLOWED_ERR',
\DOM_NO_MODIFICATION_ALLOWED_ERR => 'DOM_NO_MODIFICATION_ALLOWED_ERR',
\DOM_NOT_FOUND_ERR => 'DOM_NOT_FOUND_ERR',
\DOM_NOT_SUPPORTED_ERR => 'DOM_NOT_SUPPORTED_ERR',
\DOM_INUSE_ATTRIBUTE_ERR => 'DOM_INUSE_ATTRIBUTE_ERR',
\DOM_INVALID_STATE_ERR => 'DOM_INVALID_STATE_ERR',
\DOM_SYNTAX_ERR => 'DOM_SYNTAX_ERR',
\DOM_INVALID_MODIFICATION_ERR => 'DOM_INVALID_MODIFICATION_ERR',
\DOM_NAMESPACE_ERR => 'DOM_NAMESPACE_ERR',
\DOM_INVALID_ACCESS_ERR => 'DOM_INVALID_ACCESS_ERR',
\DOM_VALIDATION_ERR => 'DOM_VALIDATION_ERR',
]

◆ ERROR_CODES

const ERROR_CODES
private
Valeur initiale :
= [
\DOM_PHP_ERR => 'DOM_PHP_ERR'

◆ NODE_TYPES

const NODE_TYPES
private
Valeur initiale :
= [
\XML_ELEMENT_NODE => 'XML_ELEMENT_NODE'

◆ XML_ATTRIBUTE_NODE

const XML_ATTRIBUTE_NODE
Valeur initiale :
=> 'XML_ATTRIBUTE_NODE',
\XML_TEXT_NODE => 'XML_TEXT_NODE',
\XML_CDATA_SECTION_NODE => 'XML_CDATA_SECTION_NODE',
\XML_ENTITY_REF_NODE => 'XML_ENTITY_REF_NODE',
\XML_ENTITY_NODE => 'XML_ENTITY_NODE',
\XML_PI_NODE => 'XML_PI_NODE',
\XML_COMMENT_NODE => 'XML_COMMENT_NODE',
\XML_DOCUMENT_NODE => 'XML_DOCUMENT_NODE',
\XML_DOCUMENT_TYPE_NODE => 'XML_DOCUMENT_TYPE_NODE',
\XML_DOCUMENT_FRAG_NODE => 'XML_DOCUMENT_FRAG_NODE',
\XML_NOTATION_NODE => 'XML_NOTATION_NODE',
\XML_HTML_DOCUMENT_NODE => 'XML_HTML_DOCUMENT_NODE',
\XML_DTD_NODE => 'XML_DTD_NODE',
\XML_ELEMENT_DECL_NODE => 'XML_ELEMENT_DECL_NODE',
\XML_ATTRIBUTE_DECL_NODE => 'XML_ATTRIBUTE_DECL_NODE',
\XML_ENTITY_DECL_NODE => 'XML_ENTITY_DECL_NODE',
\XML_NAMESPACE_DECL_NODE => 'XML_NAMESPACE_DECL_NODE',
]

La documentation de cette classe a été générée à partir du fichier suivant :