Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (XPath $xPath, $useNestingLimit) | |
collect () | |
findByElement (\DOMElement $element, $considerChildren=false) | |
findByElementId ($elementId) | |
getElementsToRemove () | |
Fonctions membres protégées | |
determineInvalidSubjects () | |
markSubjectAsInvalid (Subject $subject) | |
Attributs protégés | |
$xPath | |
$subjects = [] | |
$elementsToRemove = [] | |
$useNestingLimit | |
__construct | ( | XPath | $xPath, |
$useNestingLimit | |||
) |
Références Resolver\$useNestingLimit, et Resolver\$xPath.
collect | ( | ) |
Références Resolver\determineInvalidSubjects().
|
protected |
Determines and tags infinite loops.
Références Resolver\$elementsToRemove, $subject, elseif, Helper\extractIdReferenceFromHref(), NestingException\getElement(), Helper\getElementHref(), et Resolver\markSubjectAsInvalid().
Référencé par Resolver\collect().
findByElement | ( | \DOMElement | $element, |
$considerChildren = false |
|||
) |
Resolves one subject by element.
\DOMElement | $element | |
bool | $considerChildren | Whether to search in Subject's children as well |
Références $subject, Helper\isElementContainedIn(), et null.
findByElementId | ( | $elementId | ) |
getElementsToRemove | ( | ) |
Get all the elements that caused a nesting exception.
Références Resolver\$elementsToRemove.
|
protected |
The Subject is invalid for some reason, therefore we should remove it and all it's child usages.
Subject | $subject |
Références $subject.
Référencé par Resolver\determineInvalidSubjects().
|
protected |
Référencé par Resolver\determineInvalidSubjects(), et Resolver\getElementsToRemove().
|
protected |
|
protected |
Référencé par Resolver\__construct().
|
protected |
Référencé par Resolver\__construct().