Definition at line 23 of file ResourcesManager.php.
◆ __construct()
ILIAS\COPage\PC\Resources\ResourcesManager::__construct |
( |
| ) |
|
Definition at line 27 of file ResourcesManager.php.
References $DIC.
30 $this->dom_util = $DIC->copage()->internal()->domain()->domUtil();
◆ getResourceIds()
ILIAS\COPage\PC\Resources\ResourcesManager::getResourceIds |
( |
\DOMDocument |
$dom | ) |
|
Definition at line 33 of file ResourcesManager.php.
References $c, $id, and $path.
36 $path =
"//Resources";
37 $nodes = $this->dom_util->path($dom,
$path);
38 foreach ($nodes as $node) {
40 $c = $node->childNodes->item(0);
41 if (is_object(
$c) &&
$c->nodeName ===
"ResourceList") {
42 $id =
$c->getAttribute(
"Type");
44 if (is_object(
$c) &&
$c->nodeName ===
"ItemGroup") {
45 $id =
$c->getAttribute(
"RefId");
47 if (
$id !==
"" && !in_array(
$id, $r_ids)) {
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
◆ $dom_util
ILIAS COPage Dom DomUtil ILIAS\COPage\PC\Resources\ResourcesManager::$dom_util |
|
protected |
The documentation for this class was generated from the following file: