19declare(strict_types=1);
23trait CreationCallbackTrait
25 public function callCreationCallback(
30 if ($requested_crtcb === 0) {
35 $class_name =
'ilObj' . $obj_definition->getClassName($callback_type) .
'GUI';
37 if (strtolower($class_name) ===
'ilobjitemgroupgui') {
38 $callback_obj =
new $class_name((
int) $requested_crtcb);
40 $callback_obj =
new $class_name(
null, $requested_crtcb,
true,
false);
42 $callback_obj->afterSaveCallback($obj);
parses the objects.xml it handles the xml-description of all ilias objects
Class ilObject Basic functions for all objects.
static _lookupType(int $id, bool $reference=false)
if(!file_exists('../ilias.ini.php'))