3 declare(strict_types=1);
26 public const TYPE =
'tals';
39 public function __construct(
int $a_id = 0,
bool $a_call_by_reference =
true,
bool $locked_editing =
false)
49 public function read(): void
54 public function create():
int 67 'components/ILIAS/EmployeeTalk',
70 'obj_id' => $this->
getId(),
75 return $this->
getId();
80 public function update():
bool 82 $ret = parent::update();
90 'components/ILIAS/EmployeeTalk',
93 'obj_id' => $this->
getId(),
106 public static function _exists(
int $a_id,
bool $a_reference =
false, ?
string $type = null): bool
108 return parent::_exists($a_id, $a_reference, self::TYPE);
116 public function delete():
bool 124 'components/ILIAS/EmployeeTalk',
128 'obj_id' => $this->
getId(),
134 $node_data = $this->tree->getNodeData($this->
getRefId());
135 $result = parent::delete();
136 $this->tree->deleteNode($node_data[
'tree'], $this->
getRefId());
143 $children = $this->tree->getChildIds($this->
getRefId());
144 return count($children) > 0;
152 $child_ids = $this->tree->getChildIds($this->
getRefId());
154 foreach ($child_ids as
$id) {
repository()
description: > Example for rendering a repository card
__construct(int $a_id=0, bool $a_call_by_reference=true, bool $locked_editing=false)
static _exists(int $a_id, bool $a_reference=false, ?string $type=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _writeContainerSetting(int $a_id, string $a_keyword, string $a_value)
IliasDBEmployeeTalkSeriesRepository $repository
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
__construct(Container $dic, ilPlugin $plugin)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...