/** * Constructor * @access public * @param string scriptname */ public function ilShopExplorer($tpl, $a_target, $a_ref_id) { global $tree; $this->tree = $tree; $this->tpl = $tpl; $this->target = $a_target; $this->payment_objects = ilPaymentObject::getAllBuyableObjects(); $this->tpl->addCss('./Services/Payment/css/shop_tree.css'); $this->addFilter("root"); $this->addFilter("cat"); $this->addFilter('catr'); $this->addFilter("grp"); $this->addFilter("icrs"); $this->addFilter("crs"); $this->addFilter('crsr'); $this->addFilter('rcrs'); $this->addFilter('file'); $this->addFilter('tst'); $this->addFilter('exc'); $this->setFiltered(true); $this->setFilterMode(IL_FM_NEGATIVE); }