13 require_once(
"classes/class.ilExplorer.php");
14 require_once
'./Services/Payment/classes/class.ilPaymentObject.php';
47 $this->root_id = $this->tree->readRootId();
48 $this->order_column =
"title";
55 #$this->addFilter('fold');
60 $this->classname = $a_classname;
65 $this->ctrl->setParameterByClass($this->classname,
'sell_id',$a_node_id);
67 if ($this->classname ==
'ilpaymentstatisticgui')
69 return $this->ctrl->getLinkTargetByClass($this->classname,
'searchUser');
71 if ($this->classname ==
'ilobjpaymentsettingsgui')
73 return $this->ctrl->getLinkTargetByClass($this->classname,
'searchUserSP');
77 return $this->ctrl->getLinkTargetByClass($this->classname,
'showSelectedObject');
106 if ($this->classname ==
'ilpaymentstatisticgui')
109 #if (!ilPaymentObject::_isPurchasable($a_ref_id, $ilUser->getId(), true))
114 else if ($this->classname ==
'ilobjpaymentsettingsgui')
122 else if($this->classname ==
'ilpaymentobjectgui')
144 $this->always_clickable = $a_value;
158 if ($this->classname ==
'ilpaymentstatisticgui')
165 else if ($this->classname ==
'ilobjpaymentsettingsgui')
180 if($rbacsystem->checkAccess(
"visible", $a_ref_id))
204 $tpl->setCurrentBlock(
"text");
205 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
206 $tpl->parseCurrentBlock();
208 $tpl->setCurrentBlock(
"row");
209 $tpl->parseCurrentBlock();
211 $this->output[] =
$tpl->get();