|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for enshrined\svgSanitize\ElementReference\Subject: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().
Here is the call graph for this function:| enshrined\svgSanitize\ElementReference\Subject::addUsedIn | ( | Subject | $subject | ) |
| Subject | $subject |
Definition at line 97 of file Subject.php.
References enshrined\svgSanitize\ElementReference\Subject\getElementId().
Here is the call graph for this function:| 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, enshrined\svgSanitize\ElementReference\Subject\getElement(), and enshrined\svgSanitize\ElementReference\Usage\getSubject().
Referenced by enshrined\svgSanitize\ElementReference\Resolver\markSubjectAsInvalid().
Here is the call graph for this function:
Here is the caller graph for this function:| enshrined\svgSanitize\ElementReference\Subject::countUse | ( | $accumulated = false | ) |
| bool | $accumulated |
Definition at line 114 of file Subject.php.
| 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\clearInternalAndGetAffectedElements(), and enshrined\svgSanitize\ElementReference\Subject\hasInfiniteLoop().
Here is the caller graph for this function:| 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().
Here is the caller graph for this function:| enshrined\svgSanitize\ElementReference\Subject::hasInfiniteLoop | ( | array | $subjects = [], |
$level = 1 |
|||
| ) |
| array | $subjects | Previously processed subjects |
| int | $level | The current level of nesting. |
enshrined\svgSanitize\Exceptions\NestingException
Definition at line 60 of file Subject.php.
References enshrined\svgSanitize\ElementReference\Subject\getElement().
Here is the call graph for this function:
|
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().