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