function AbstractStudIPAdministrationPlugin() { parent::__construct(); // Administration-Plugins only accessible by users with admin rights if (!$GLOBALS['perm']->have_perm('admin')) { throw new Exception(_('Sie verfügen nicht über ausreichend Rechte für diese Aktion.')); } }
/** * */ function AbstractStudIPHomepagePlugin() { parent::__construct(); // ignore errors about unknown users here try { $this->requesteduser = $this->getRequestedUser(); $this->setRequestedUser($this->requesteduser); } catch (Exception $ex) { } $this->status_showOverview = 1; }
function AbstractStudIPPortalPlugin() { parent::__construct(); }
function AbstractStudIPSystemPlugin() { parent::__construct(); $this->display_type = SYSTEM_PLUGIN_TOOLBAR; }
function AbstractStudIPStandardPlugin() { parent::__construct(); $this->id = $GLOBALS['SessSemName'][1]; $this->user->permission->setPoiid($this->id); }