删除元素
@param string $member
@return bool
357149
public function delField(string $member) : bool
        {
	        $result = $this->_redis->zrem($this->_key, $member);
	        return $result>0?true:false;
        }
240509
public function canEditEditors($member = null)
    {
        $member = $this->getMember($member);

        $extended = $this->extendedCan('canEditEditors', $member);

        if ($extended !== null) {
            return $extended;
        }

        return Permission::checkMember($member, self::MANAGE_USERS);
    }
1177112
public function canCreate($member = null, $context = [])
    {
        $extended = $this->extendedCan(__FUNCTION__, $member);
        if ($extended !== null) {
            return $extended;
        }
        return $this->Parent()->canCreate();
    }
880594
public function zScore($key, $member) {
        return $this->getHandler($this->judge(__FUNCTION__))->zScore($key, $member);
    }
1363065
public function canPostComment($member = null)
    {
        return $this->Parent()
            && $this->Parent()->exists()
            && $this->Parent()->canPostComment($member);
    }
431758
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;
        }
    }
1000904
public function canDelete($member = null)
    {
        $member = $this->getMember($member);

        if (!$member) {
            return false;
        }

        $extended = $this->extendedCan('canDelete', $member);
        if ($extended !== null) {
            return $extended;
        }

        return $this->canEdit($member);
    }
358805
public function canEdit($member = null)
    {
        $member = $this->getMember($member);

        if (!$member) {
            return false;
        }

        $extended = $this->extendedCan('canEdit', $member);
        if ($extended !== null) {
            return $extended;
        }

        if (Permission::checkMember($member, 'CMS_ACCESS_CommentAdmin')) {
            return true;
        }

        if ($parent = $this->Parent()) {
            return $parent->canEdit($member);
        }

        return false;
    }
261393
public function canView($member = null)
    {
        $parent = $this->Parent();
        if ($parent && $parent->exists()) {
            return $parent->canView($member);
        }

        return true;
    }
796889
public function canCreate($member = null, $context = [])
    {
        // Obtain Parent Context:
        
        if (isset($context['Parent'])) {
            
            // Obtain Parent:
            
            $parent = $context['Parent'];
            
            // Obtain Parent Class:
            
            $class = get_class($context['Parent']);
            
            // Obtain Allowed Parents:
            
            if ($parents = $this->config()->allowed_parents) {
                
                // Initialise Allowed Classes Array:
                
                $classes = [];
                
                // Obtain Subclasses for Parent Class:
                
                foreach ($parents as $parent) {
                    $classes = array_merge($classes, array_values(ClassInfo::subclassesFor($parent)));
                }
                
                // Disallow Parent (if not found):
                
                if (!in_array($class, $classes)) {
                    return false;
                }
                
            } else {
                
                // Disallow Page as Parent (except if explicitly allowed):
                
                if ($context['Parent'] instanceof Page) {
                    
                    $allowed_children = $context['Parent']->allowedChildren();
                    
                    if (in_array(SiteTree::class, $allowed_children) || !in_array(static::class, $allowed_children)) {
                        return false;
                    }
                    
                }
                
            }
            
            // Check Allowed Children of Parent:
            
            $strictParentInstance = ($parent && $parent instanceof SiteTree);
            
            if ($strictParentInstance && !in_array(static::class, $parent->allowedChildren())) {
                return false;
            }
            
        }
        
        // Check Permissions for Member:
        
        return Permission::checkMember($member, ['ADMIN', 'SILVERWARE_COMPONENT_CREATE']);
    }
208585
public function canCreate($member=null)
    {
        if (!$member) {
            $member = singleton('SecurityContext')->getMember();
        }
        
        if ($member) {
            // check dashboard controller's allowed_dashlets
            $allowed = Config::inst()->get('DashboardController', 'allowed_dashlets');
            if (in_array(get_class($this), $allowed)) {
                return true;
            }
            
            $config = SiteConfig::current_site_config();
            $required = $this->requiredPermission();
            if ($config->hasMethod('checkPerm') && $config->checkPerm($required)) {
                return true;
            }
        }
        
        
        return parent::canCreate($member);
    }
1160452
public function canView($member = null)
    {
        if (!$member) {
            $member = Security::getCurrentUser();
        }

        // extended access checks
        $results = $this->extend('canView', $member);
        if ($results && is_array($results)) {
            if (!min($results)) {
                return false;
            }
        }

        // user needs access to CMS_ACCESS_SecurityAdmin
        if (Permission::checkMember($member, "CMS_ACCESS_SecurityAdmin")) {
            return true;
        }

        return false;
    }
1331756
public function getFkElement($member, $className, $object) {
		return $this->jquery->semantic ()->htmlLabel ( "element-" . $className . "." . $member, $object . "" );
	}
1327392
public function isUnreadByUser($member = null) {
		if (!$member) {
			$member = $this->securityContext->getMember();
		}

		if ($member && $member->ID) {
			return strtotime($this->Created) > strtotime($member->LastPostView);
		}
	}
821693
public function zRem($key, $member) {
        return $this->getHandler($this->judge(__FUNCTION__))->zRem($key, $member);
    }
120261
public function existsField(string $member) : bool
        {
                return $this->_redis->zscore($this->_key, $member)===null ? false : true;
        }
1094791
public function setMember($member)
    {
        $member = is_string($member) ? [$member] : $member;
        $this->setParameter('MemberToDel_Account', $member);
        return $this;
    }