19declare(strict_types=1);
33 public function __construct(
int $a_id = 0,
bool $a_call_by_reference =
true)
63 if (self::$root_ref_id === -1 || self::$root_id === -1) {
66 $q =
"SELECT o.obj_id, r.ref_id FROM object_data o
67 INNER JOIN object_reference r ON r.obj_id = o.obj_id
68 WHERE title = '__TalkTemplateAdministration'
72 self::$root_id = (
int)
$res[
"obj_id"];
73 self::$root_ref_id = (
int)
$res[
"ref_id"];
82 return $this->
lng->txt(
"objs_tala");
86 public static function _exists(
int $id,
bool $reference =
false, ?
string $type =
null): bool
88 return parent::_exists(
$id, $reference,
"tala");
97 public function delete():
bool
99 return parent::delete();
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
static loadRootOrgRefIdAndId()
__construct(int $a_id=0, bool $a_call_by_reference=true)
static _exists(int $id, bool $reference=false, ?string $type=null)
checks if an object exists in object_data
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc