public function __construct($filterid, $label, $permission, $gliederungid, $matcher) { parent::__construct($label, $permission, $gliederungid); $this->filterid = $filterid; if ($gliederungid != null) { $matcher = new AndDokumentMatcher(new GliederungDokumentMatcher($gliederungid), $matcher); } $this->matcher = $matcher; }
public function __construct($actionid, $label, $permission) { parent::__construct($label, $permission); $this->actionid = $actionid; }
public function isAllowed($session) { return parent::isAllowed($session, $this->getGliederungID()); }