5 include_once(
"./Services/UIComponent/Explorer2/classes/class.ilExplorerSelectInputGUI.php");
6 include_once(
"./Services/Taxonomy/classes/class.ilObjTaxonomy.php");
25 public function __construct($a_taxonomy_id, $a_postvar, $a_multi =
false)
29 $this->lng = $DIC->language();
30 $this->ctrl = $DIC->ctrl();
31 $lng = $DIC->language();
34 $lng->loadLanguageModule(
"tax");
35 $this->multi_nodes = $a_multi;
36 include_once(
"./Services/Taxonomy/classes/class.ilTaxonomyExplorerGUI.php");
37 $ilCtrl->setParameterByClass(
"ilformpropertydispatchgui",
"postvar", $a_postvar);
39 array(
"ilformpropertydispatchgui",
"iltaxselectinputgui"),
44 "tax_expl_" . $a_postvar
46 $this->explorer_gui->setSelectMode($a_postvar .
"_sel", $this->multi_nodes);
47 $this->explorer_gui->setSkipRootNode(
true);
49 parent::__construct(
ilObject::_lookupTitle($a_taxonomy_id), $a_postvar, $this->explorer_gui, $this->multi_nodes);
52 if ((
int) $a_taxonomy_id == 0) {
53 throw new ilTaxonomyExceptions(
"No taxonomy ID passed to ilTaxSelectInputGUI.");
67 $this->taxononmy_id = $a_val;
77 return $this->taxononmy_id;
88 include_once(
"./Services/Taxonomy/classes/class.ilTaxonomyNode.php");
Taxonomy explorer GUI class.
static _lookupTitle($a_id)
lookup object title
static _lookupTitle($a_obj_id)
Lookup Title.