13 require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
14 require_once
'./Services/Payment/classes/class.ilPaymentObject.php';
46 parent::ilExplorer($a_target);
48 $this->root_id = $this->tree->readRootId();
49 $this->order_column =
"title";
56 #$this->addFilter('fold'); 61 $this->classname = $a_classname;
66 $this->ctrl->setParameterByClass($this->classname,
'sell_id',$a_node_id);
68 if ($this->classname ==
'ilpaymentstatisticgui')
70 return $this->ctrl->getLinkTargetByClass($this->classname,
'searchUser');
72 if ($this->classname ==
'ilobjpaymentsettingsgui')
74 return $this->ctrl->getLinkTargetByClass($this->classname,
'searchUserSP');
78 return $this->ctrl->getLinkTargetByClass($this->classname,
'showSelectedObject');
108 if ($this->classname ==
'ilpaymentstatisticgui')
111 #if (!ilPaymentObject::_isPurchasable($a_ref_id, $ilUser->getId(), true)) 116 else if ($this->classname ==
'ilobjpaymentsettingsgui')
124 else if($this->classname ==
'ilpaymentobjectgui')
146 $this->always_clickable = $a_value;
204 $tpl =
new ilTemplate(
"tpl.tree.html",
true,
true,
"Services/UIComponent/Explorer");
206 $tpl->setCurrentBlock(
"text");
207 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
208 $tpl->parseCurrentBlock();
210 $tpl->setCurrentBlock(
"row");
211 $tpl->parseCurrentBlock();
213 $this->output[] =
$tpl->get();
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
__construct($a_target, $a_classname)
public
buildLinkTarget($a_node_id, $a_type)
static _isPurchasable($a_ref_id, $a_vendor_id=0, $a_check_trustee=false, $a_check_status=false)
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)
setFiltered($a_bool)
active/deactivate the filter public
special template class to simplify handling of ITX/PEAR
formatHeader($a_obj_id, $a_option)
overwritten method from base class public
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
isClickable($a_type, $a_ref_id)
setAlwaysClickable($a_value)
Class ilExplorer class for explorer view in admin frame.
static _isNewObject($a_ref_id)
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter public