5 include_once
'Services/UIComponent/Toolbar/interfaces/interface.ilToolbarItem.php';
30 $this->lng = $DIC->language();
31 parent::__construct($a_title, $a_postvar);
34 include_once(
"./Services/UIComponent/NestedList/classes/class.ilNestedList.php");
36 $this->list->setListClass(
"il_Explorer");
54 $this->list_nodes[$a_id] = array(
"text" => $a_text,
55 "parent" => $a_parent,
"checked" => $a_checked,
"disabled" => $a_disabled,
56 "img_src" => $a_img_src,
"img_alt" => $a_img_alt,
"post_var" => $a_post_var);
66 $this->value = $a_value;
110 foreach ($this->list_nodes as
$id =>
$n) {
111 if (
$n[
"post_var"] ==
"") {
115 $post_var =
$n[
"post_var"];
124 if (
$n[
"img_src"] !=
"") {
127 $item_html .=
$n[
"text"];
129 $this->list->addListNode($item_html,
$id,
$n[
"parent"]);
132 return $this->list->getHTML();
144 $a_tpl->setCurrentBlock(
"prop_generic");
145 $a_tpl->setVariable(
"PROP_GENERIC",
$html);
146 $a_tpl->parseCurrentBlock();
if(!array_key_exists('StateId', $_REQUEST)) $id
static img($a_src, $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
static formCheckbox($checked, $varname, $value, $disabled=false)
??? public