public function showObjectSelector()
 {
     global $ilToolbar;
     $this->tpl->addBlockFile("ADM_CONTENT", "adm_content", "tpl.paya_object_selector.html", 'Services/Payment');
     $ilToolbar->addButton($this->lng->txt('back'), $this->ctrl->getLinkTarget($this, 'showStatistics'));
     ilUtil::sendInfo($this->lng->txt("paya_select_object_to_sell"));
     $exp = new ilPaymentObjectSelector($this, "showObjectSelector");
     if (!$exp->handleCommand()) {
         $this->tpl->setVariable("EXPLORER", $exp->getHTML());
     }
     return true;
 }
 public function showObjectSelectorObject()
 {
     global $rbacsystem, $ilToolbar;
     // MINIMUM ACCESS LEVEL = 'read'
     if (!$rbacsystem->checkAccess('read', $this->object->getRefId())) {
         $this->ilErr->raiseError($this->lng->txt('msg_no_perm_read'), $this->ilErr->MESSAGE);
     }
     $ilToolbar->addButton($this->lng->txt('back'), $this->ctrl->getLinkTarget($this, 'statistic'));
     ilUtil::sendInfo($this->lng->txt('paya_select_object_to_sell'));
     include_once "./Services/Payment/classes/class.ilPaymentObjectSelector.php";
     $exp = new ilPaymentObjectSelector($this, "showObjectSelector");
     if (!$exp->handleCommand()) {
         $this->tpl->addBlockFile("ADM_CONTENT", "adm_content", "tpl.paya_object_selector.html", 'Services/Payment');
         $this->tpl->setVariable("EXPLORER", $exp->getHTML());
     }
     return true;
 }
 public function showObjectSelector()
 {
     /** 
      * @var $ilToolbar ilToolbarGUI */
     global $ilToolbar;
     $this->tpl->addBlockFile('ADM_CONTENT', 'adm_content', 'tpl.paya_object_selector.html', 'Services/Payment');
     $ilToolbar->addButton($this->lng->txt('back'), $this->ctrl->getLinkTarget($this, 'showObjects'));
     ilUtil::sendInfo($this->lng->txt('paya_select_object_to_sell'));
     include_once "./Services/Payment/classes/class.ilPaymentObjectSelector.php";
     $exp = new ilPaymentObjectSelector($this, "showObjectSelector");
     if (!$exp->handleCommand()) {
         $this->tpl->setLeftNavContent($exp->getHTML());
     }
     return true;
 }