ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
interface.ilStudyProgrammeLeaf.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
32{
36 public function getId(): int;
37
41 public function getRefId(): ?int;
42
46 public function createReference(): int;
47
52 public function putInTree(int $a_ref_id);
53}
The interface a class has to fullfill if it should be used as leaf in a program.
putInTree(int $a_ref_id)
Put the leaf object in the repository tree under object identified by $a_ref_id.
getId()
Get the ILIAS object id of the leaf.
getRefId()
Get the ILIAS reference id of the leaf.
createReference()
Create a reference id for this object.