从值获取元素
@param string $member
@return string
438409
public function getFieldValue(string $member)
        {
        	$score = $this->_redis->zscore($this->_key, $member);
                return $score!==null ? $score: 0;
        }
1207198
def _member_def(self, member):
        
        member_docstring = textwrap.dedent(member.docstring).strip()
        member_docstring = textwrap.fill(
            member_docstring, width=78, initial_indent=' '*4,
            subsequent_indent=' '*4
        )
        return '%s\n%s\n' % (member.name, member_docstring)
1331756
public function getFkElement($member, $className, $object) {
		return $this->jquery->semantic ()->htmlLabel ( "element-" . $className . "." . $member, $object . "" );
	}
20704
public function canEdit($member = null)
    {
        if (!$member) {
            $member = Security::getCurrentUser();
        }

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

        if (Permission::checkMember($member, self::EDIT_ALL)) {
            return true;
        }

        // Check inherited permissions
        return static::getPermissionChecker()
            ->canEdit($this->ID, $member);
    }
723116
public function canView($member = null) {
        $extended = $this->extend('canView', $member);
        if($extended && $extended !== null) return $extended;

        return $this->Parent()->canView($member);
    }
62271
public function canEdit($member = null)
    {
        $extended = $this->extendedCan(__FUNCTION__, $member);

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

        return $this->Blog()->canEdit($member);
    }
594370
public static function log($member)
    {
        $record = new MemberPassword();
        $record->MemberID = $member->ID;
        $record->Password = $member->Password;
        $record->PasswordEncryption = $member->PasswordEncryption;
        $record->Salt = $member->Salt;
        $record->write();
    }
54707
protected function getMember($member = null)
    {
        if (!$member) {
            $member = Security::getCurrentUser();
        }

        if (is_numeric($member)) {
            $member = Member::get()->byID($member);
        }

        return $member;
    }
647878
public static function indexArrayOfObjectsByMember($member, $objects) {

        $returnValues = array();

        foreach ($objects as $object) {
            if ($object instanceof SerialisableObject) {
                $returnValues[$object->__getSerialisablePropertyValue($member)] = $object;
            } else {
                throw new ClassNotSerialisableException(get_class($object));
            }
        }

        return $returnValues;

    }
1075775
public function canEdit($member = null)
    {
        $extended = $this->extendedCan(__FUNCTION__, $member);
        
        if ($extended !== null) {
            return $extended;
        }

        if (!$member) {
            $member = Member::currentUser();
        }

        if ($member &&
            Permission::checkMember($member->ID, ["ADMIN", "ORDERS_EDIT_INVOICES"]) &&
            in_array($this->Status, $this->config()->editable_statuses)
        ) {
            return true;
        }

        return false;
    }
1308412
public function getRank(string $member, $order = 'desc')
        {
                $method = $order === 'desc' ? 'zrevrank' : 'zrank';
                $response = $this->_redis->$method($this->_key, $member);

                return $response !== null ? $response+1 : null;
        }
246694
protected function CanEdit(Member $member)
    {
        return self::Guard()->Allow(BackendAction::Edit(), $member) && 
                self::Guard()->Allow(BackendAction::UseIt(), new MemberForm());
    }
76838
public function select(array $members) : array
        {
                $result = [];
                foreach($members as $member) {
                        $member = strval($member);
                        $result[$member] = $this->_redis->zscore($this->_key, $member);
                }
                return $result;
        }
1300013
public function FormatFromSettings($member = null)
    {
        if (!$member) {
            $member = Security::getCurrentUser();
        }

        // Fall back to nice
        if (!$member) {
            return $this->Nice();
        }

        $dateFormat = $member->getDateFormat();
        $timeFormat = $member->getTimeFormat();

        // Get user format
        return $this->Format($dateFormat . ' ' . $timeFormat, $member->getLocale());
    }
1092925
public static function becauseUnknownMember(string $enum, string $member): EnumException
    {
        return new self(sprintf('Unknown member "%s" for enum %s', $member, $enum));
    }
1249701
public function isEditor($member)
    {
        $isEditor = $this->isMemberOf($member, $this->Editors());
        $this->extend('updateIsEditor', $isEditor, $member);

        return $isEditor;
    }
232018
protected function getMember($member = null)
    {
        if (!$member) {
            $member = Member::currentUser();
        }

        if (is_numeric($member)) {
            $member = DataObject::get_by_id(Member::class, $member, true);
        }

        return $member;
    }