public function canView($member=null)
    {
        if (self::$enabled) {
            // see if we're on a page, and its ID is -1, which is always vieable
            if ($this->owner->ID === -1) {
                return true;
            }
            $res = $this->checkPerm('View', $member);
            return $res;
        }
    }
public function canView($member=null)
    {
        if (self::$enabled) {
            // see if we're on a page, and its ID is -1, which is always vieable
            if ($this->owner->ID === -1) {
                return true;
            }
            $res = $this->checkPerm('View', $member);
            return $res;
        }
    }
public function canView ( $ member = null ) { if ( self :: $ enabled ) { // see if we're on a page, and its ID is -1, which is always vieable if ( $ this -> owner -> ID === - 1 ) { return true ; } $ res = $ this -> checkPerm ( 'View' , $ member ) ; return $ res ; } }
Check for a View permission only if the item exists in the DB
@param type $member
@return type
Check for a View permission only if the item exists in the DB