19declare(strict_types=1);
42 public function beginTag(
string $name, array $attributes): void
44 if ($name !==
"secure_path") {
52 $ilWACSecurePath->setPath($attributes[
"path"]);
53 $ilWACSecurePath->create();
55 $ilWACSecurePath->setCheckingClass($attributes[
"checking-class"]);
56 $ilWACSecurePath->setInSecFolder((
bool) ($attributes[
"in-sec-folder"] ??
null));
57 $ilWACSecurePath->setComponentDirectory(realpath(__DIR__ .
"/../../../../../" . $this->component));
58 $ilWACSecurePath->update();
61 public function endTag(
string $name): void
static findOrFail($primary_key, array $add_constructor_args=[])
Tries to find the object and throws an Exception if object is not found, instead of returning null.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
endComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component ends.
endTag(string $name)
This is called when a tag ends in the context of the given component.
__construct(protected \ilDBInterface $db)
beginTag(string $name, array $attributes)
This is called when a tag starts in the context of the given component.
beginComponent(string $component, string $type)
This method is called when parsing of component.xml for the given component starts.
purge()
This methods is supposed to purge existing data in the provider of the component, so new components c...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An ilComponentDefinitionProcessor processes some attributes from a component.xml (i....