Lines Matching refs:perms
529 $perms = $this->_cached_quickaclcheck($item['id'].':*');
530 if ($perms >= AUTH_READ || $this->_any_child_perms($data, $item['_']))
533 $perms = $this->_cached_quickaclcheck($item['id']);
534 if ($perms >= AUTH_READ)
545 $perms = $this->_cached_quickaclcheck($item['id'].':*');
548 if ($perms < AUTH_READ && !$perms_exemption) {
558 $linkdisp = $item['linkdisp'] && ($perms >= AUTH_READ);
559 if ($perms < AUTH_CREATE)
561 $this->_displayNSBegin($renderer, $data, $item['title'], $linkdisp, $item['linkid'], ($data['show_perms'] ? $perms : NULL));
562 if ($perms >= AUTH_READ || $perms_exemption)
567 $perms = $this->_cached_quickaclcheck($item['id']);
568 if ($perms < AUTH_READ && !$data['show_perms'] && !$data['show_pgnoread'])
572 $displayLink = $perms >= AUTH_READ || $data['show_perms'];
573 $this->_displayPage($renderer, $item, $data['displayType'], ($data['show_perms'] ? $perms : NULL), $displayLink);
578 function _displayNSBegin (&$renderer, $data, $title, $displayLink, $idLink, $perms) {
584 if ($perms !== NULL) $renderer->doc .= ' [ns, perm='.$perms.']';
603 function _displayPage (&$renderer, $item, $displayType, $perms, $displayLink) {
608 if ($perms !== NULL) $renderer->doc .= ' [page, perm='.$perms.']';