19declare(strict_types=1);
49 if ($subitem_ids === []) {
52 yield
from $this->
getReader($parent_type)?->getSubitemProperties(
61 if (isset($this->readers_by_type[$parent_type])) {
62 return $this->readers_by_type[$parent_type];
66 if ($class_name ===
null || !class_exists((
string) $class_name)) {
69 $reader =
new $class_name();
73 $reader->init($this->dic);
74 return $this->readers_by_type[$parent_type] = $reader;
Customizing of pimple-DIC for ILIAS.
The scope of this class is split ilias-conform URI's into components.
getSubitemProperties(int $parent_ref_id, string $parent_type, ID ... $subitem_ids)
__construct(protected Container $dic, protected PropertiesFactory $factory,)
getReader(string $parent_type)
if(!file_exists('../ilias.ini.php'))