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);
An exception for terminatinating execution or to throw for unit testing.
parses the objects.xml it handles the xml-description of all ilias objects
Class ilObject Basic functions for all objects.
static _lookupType($a_id, $a_reference=false)
lookup object type
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...