ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (\DOMElement $element, $useNestingLimit) | |
Subject constructor. More... | |
getElement () | |
getElementId () | |
hasInfiniteLoop (array $subjects=[], $level=1) | |
addUse (Subject $subject) | |
addUsedIn (Subject $subject) | |
countUse ($accumulated=false) | |
countUsedIn () | |
clearInternalAndGetAffectedElements () | |
Clear the internal arrays (to free up memory as they can get big) and return all the child usages DOMElement's. More... | |
Protected Attributes | |
$element | |
$useCollection = [] | |
$usedInCollection = [] | |
$useNestingLimit | |
Definition at line 4 of file Subject.php.
enshrined\svgSanitize\ElementReference\Subject::__construct | ( | \DOMElement | $element, |
$useNestingLimit | |||
) |
Subject constructor.
\DOMElement | $element | |
int | $useNestingLimit |
Definition at line 32 of file Subject.php.
References enshrined\svgSanitize\ElementReference\Subject\$element, and enshrined\svgSanitize\ElementReference\Subject\$useNestingLimit.
enshrined\svgSanitize\ElementReference\Subject::addUse | ( | Subject | $subject | ) |
Subject | $subject |
Definition at line 81 of file Subject.php.
References enshrined\svgSanitize\ElementReference\Subject\getElementId().
enshrined\svgSanitize\ElementReference\Subject::addUsedIn | ( | Subject | $subject | ) |
Subject | $subject |
Definition at line 97 of file Subject.php.
References enshrined\svgSanitize\ElementReference\Subject\getElementId().
enshrined\svgSanitize\ElementReference\Subject::clearInternalAndGetAffectedElements | ( | ) |
Clear the internal arrays (to free up memory as they can get big) and return all the child usages DOMElement's.
Definition at line 142 of file Subject.php.
References enshrined\svgSanitize\ElementReference\Subject\$useCollection, and enshrined\svgSanitize\ElementReference\Usage\getSubject().
Referenced by enshrined\svgSanitize\ElementReference\Resolver\markSubjectAsInvalid().
enshrined\svgSanitize\ElementReference\Subject::countUse | ( | $accumulated = false | ) |
enshrined\svgSanitize\ElementReference\Subject::countUsedIn | ( | ) |
Definition at line 127 of file Subject.php.
enshrined\svgSanitize\ElementReference\Subject::getElement | ( | ) |
Definition at line 41 of file Subject.php.
References enshrined\svgSanitize\ElementReference\Subject\$element.
Referenced by enshrined\svgSanitize\ElementReference\Subject\hasInfiniteLoop().
enshrined\svgSanitize\ElementReference\Subject::getElementId | ( | ) |
Definition at line 49 of file Subject.php.
Referenced by enshrined\svgSanitize\ElementReference\Subject\addUse(), enshrined\svgSanitize\ElementReference\Subject\addUsedIn(), and enshrined\svgSanitize\ElementReference\Resolver\findByElementId().
enshrined\svgSanitize\ElementReference\Subject::hasInfiniteLoop | ( | array | $subjects = [] , |
$level = 1 |
|||
) |
array | $subjects | Previously processed subjects |
int | $level | The current level of nesting. |
Definition at line 60 of file Subject.php.
References enshrined\svgSanitize\ElementReference\Subject\getElement().
|
protected |
Definition at line 9 of file Subject.php.
Referenced by enshrined\svgSanitize\ElementReference\Subject\__construct(), and enshrined\svgSanitize\ElementReference\Subject\getElement().
|
protected |
Definition at line 14 of file Subject.php.
Referenced by enshrined\svgSanitize\ElementReference\Subject\clearInternalAndGetAffectedElements().
|
protected |
Definition at line 19 of file Subject.php.
|
protected |
Definition at line 24 of file Subject.php.
Referenced by enshrined\svgSanitize\ElementReference\Subject\__construct().