3 declare(strict_types=1);
32 public function __construct($a_id = 0, $a_call_by_reference =
true)
41 public function delete():
bool 65 if ($this->root_ref_id === 0 || $this->root_id === 0) {
66 $q =
"SELECT object_reference.obj_id, object_reference.ref_id FROM object_data 67 INNER JOIN object_reference ON object_reference.obj_id = object_data.obj_id 69 $set = $this->db->queryF($q, [
'text'], [
'nota']);
70 if (
$res = $this->db->fetchAssoc($set)) {
71 $this->root_id = (
int)
$res[
"obj_id"];
72 $this->root_ref_id = (
int)
$res[
"ref_id"];
74 throw new PDOException(
'Node "nota" not found.');
__construct($a_id=0, $a_call_by_reference=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)