Extracts the key's value.

@return string
486028
private function _extractValue()
    {
        $value = Resources::EMPTY_STRING;

        if ($this->_pos < strlen($this->_value)) {
            $ch = $this->_value[$this->_pos];

            if ($ch == '"' || $ch == '\'') {
                // Value is contained between double quotes or skipped single quotes.
                ++$this->_pos;
                $value = $this->_extractString($ch);
            } else {
                $firstPos = $this->_pos;
                $isFound = false;

                while ($this->_pos < strlen($this->_value) && !$isFound) {
                    $ch = $this->_value[$this->_pos];

                    if ($ch == ';') {
                        $isFound = true;
                    } else {
                        ++$this->_pos;
                    }
                }

                $value = rtrim(
                    substr($this->_value, $firstPos, $this->_pos - $firstPos)
                );
            }
        }

        return $value;
    }
893100
public function getStorageKey(): string
    {
        return $this->_storage['storage_key'] ?? $this->getTypePrefix() . $this->getFlexType() . '@@' . spl_object_hash($this);
    }
972292
public function key()
    {
        return isset( $this->packageNames[$this->index] )
            ? $this->packageNames[$this->index]
            : null;
    }
1332085
private function getKey ( $key = NULL ) {
        if ($key === NULL) {
            $key = $this->__keyName;
            return $this->getClassKey() . '_' . $this->$key;
        }
        return $this->getClassKey() . '_' . $key;
    }
44643
public function __getKey()
    {
        $rule = ModelManager::getKeyRule($this);
        $result = $rule->rule;
        foreach($rule->paramNames as $paramName)
        {
            if(!isset($this[$paramName]))
            {
                throw new \Exception(sprintf('__getKey param %s does not exists', $paramName));
            }
            $result = str_replace('{' . $paramName . '}', $this[$paramName], $result);
        }
        return $result;
    }
1010024
private function getPayloadAlertKeyValue()
    {
        // Alert "string" (simple alert)
        if ($this->getSimpleAlert()) {
            return $this->getSimpleAlert();
        }

        // Alert "array" (complex alert)
        $payloadAlert = array();

        if ($this->getAlertTitle()) {
            $payloadAlert['title'] = $this->getAlertTitle();
        }
        if ($this->getAlertBody()) {
            $payloadAlert['body'] = $this->getAlertBody();
        }
        if ($this->getAlertTitleLocKey()) {
            $payloadAlert['title-loc-key'] = $this->getAlertTitleLocKey();
        }
        if ($this->getAlertTitleLocArgs()) {
            $payloadAlert['title-loc-args'] = $this->getAlertTitleLocArgs();
        }
        if ($this->getAlertActionLocKey()) {
            $payloadAlert['action-loc-key'] = $this->getAlertActionLocKey();
        }
        if ($this->getAlertLocKey()) {
            $payloadAlert['loc-key'] = $this->getAlertLocKey();
        }
        if ($this->getAlertLocArgs()) {
            $payloadAlert['loc-args'] = $this->getAlertLocArgs();
        }
        if ($this->getAlertLaunchImage()) {
            $payloadAlert['launch-image'] = $this->getAlertLaunchImage();
        }
        if ($this->getAction()) {
            $payloadAlert['action'] = $this->getAction();
        }

        return $payloadAlert;
    }
1332579
public function key()
    {
        $key = key($this->standards);

        return array_search($key, array_keys($this->standards));
    }
360431
public function key()
	{
		$pageSize=$this->_dataProvider->getPagination()->getPageSize();
		return $this->_currentPage*$pageSize+$this->_currentIndex;
	}
11154
protected function getValue($key)
    {
        if (isset($key[0]) && $key[0] === self::CONST_PREFIX) {
            // If string starts with "=" symbol
            // then cut it and return plain string.
            return substr($key, 1);
        }

        // Get value using a dot notation
        $data = $this->object;
        foreach (explode('.', $key) as $step) {
            if (is_array($data)) {
                $data = $data[$step];
            } else {
                $data = $data->$step;
            }
        }

        return (string)$data;
    }
250235
public function key(): string
    {
        if ($this->cacheEntriesIterator === null) {
            $this->rewind();
        }
        return substr($this->cacheEntriesIterator->key(), strlen($this->identifierPrefix . 'entry_'));
    }
443930
protected function get_key_from_position() {
        $keylist = array_keys($this->userlists);
        if (isset($keylist[$this->iteratorposition])) {
            return $keylist[$this->iteratorposition];
        }

        return null;
    }
805229
public function key()
    {
        $key = key($this->data);
        return isset($this->keys[$key]) ? $this->keys[$key] : $key;
    }
119648
private function getKey()
    {
        if ($this->_key === null) {
            $this->_key = ftok(__FILE__, $this->id);
        }

        return $this->_key;
    }
921420
protected function getKeyString()
    {
        $expected = $this->expected;
        $keys = '';
        $tail = array_pop($expected);

        if (!empty($expected)) {
            $keys = implode('","', $expected) . '", and "';
        }

        $keys .= $tail;

        return $keys;
    }
993041
public function key()
    {
        if (isset($this->keys[$this->pos])) {
            return $this->keys[$this->pos];
        }
        return null;
    }
35741
public function value(): ?string
    {
        if (is_empty($this->key)) {
            return $this->original;
        }

        $value = $this->replacements->get($this->key, null);

        return $this->convertToString($value);
    }
330517
public function extractKey($key)
    {
        $self       = clone($this);
        $self->data = Accessor::get($this->data, $key) ?: [];
        return $self;
    }