3declare(strict_types=1);
26 public const TYPE =
'tals';
49 public function read(): void
69 'Modules/EmployeeTalk',
72 'obj_id' => $this->
getId(),
77 return $this->
getId();
82 public function update(): bool
84 $ret = parent::update();
92 'Modules/EmployeeTalk',
95 'obj_id' => $this->
getId(),
108 public static function _exists(
int $a_id,
bool $a_reference =
false, ?
string $type =
null): bool
110 return parent::_exists($a_id, $a_reference, self::TYPE);
118 public function delete():
bool
126 'Modules/EmployeeTalk',
130 'obj_id' => $this->
getId(),
136 $node_data = $this->tree->getNodeData($this->
getRefId());
137 $result = parent::delete();
138 $this->tree->deleteNode($node_data[
'tree'], $this->
getRefId());
145 $children = $this->tree->getChildIds(intval($this->
getRefId()));
146 return count($children) > 0;
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
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)
create()
note: title, description and type should be set when this function is called
__construct(int $a_id=0, bool $a_call_by_reference=true, bool $locked_editing=false)
IliasDBEmployeeTalkSeriesRepository $repository
static _exists(int $a_id, bool $a_reference=false, ?string $type=null)
setOfflineStatus(bool $status)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc