19 declare(strict_types=1);
29 public function __construct(
int $a_id = 0,
bool $a_call_by_reference =
true)
54 if ($this->root_ref_id === 0 || $this->root_id === 0) {
55 $q =
"SELECT object_reference.obj_id, object_reference.ref_id FROM object_data 56 INNER JOIN object_reference ON object_reference.obj_id = object_data.obj_id 59 if (
$res = $this->db->fetchAssoc($set)) {
60 $this->root_id = (
int)
$res[
'obj_id'];
61 $this->root_ref_id = (
int)
$res[
'ref_id'];
63 throw new PDOException(
'Node "nota" not found.');
__construct(int $a_id=0, bool $a_call_by_reference=true)
__construct(Container $dic, ilPlugin $plugin)