ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
AbstractObjectTypeSpecificProperties.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 protected \ilDBInterface $db;
26
27 final public function __construct()
28 {
29 }
30
31 public function init(\ilDBInterface $db)
32 {
33 $this->db = $db;
34 }
35
36 abstract public function getObjectTypeString(): string;
37
39 {
40 return null;
41 }
42
44 {
45 return null;
46 }
47
48 abstract public function preload(array $object_ids): void;
49}
getObjectTypeString()
@description This function MUST return the object type string as defined in ObjectDefinitions.
preload(array $object_ids)
@description To avoid too many roundtrips to the persistence layer on lists of objects,...
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...