Returns a specific Name Field by its Key.
@access		public
@param		string		$key					Field Key
@return		string
762333
public function getNameField( $key )
	{
		if( !array_key_exists( $key, $this->types['n'] ) )
			throw new InvalidArgumentException( 'Name Key "'.$key.'" is invalid.' );
		return $this->types['n'][$key];
	}
813010
function &get($key) {
		if ($key=='_id')
			return $this->_id;
		elseif (array_key_exists($key,$this->fields))
			return $this->fields[$key]['value'];
		elseif (array_key_exists($key,$this->adhoc))
			return $this->adhoc[$key]['value'];
		elseif (array_key_exists($key,$this->props))
			return $this->props[$key];
		user_error(sprintf(self::E_Field,$key),E_USER_ERROR);
	}
97830
private function findFieldMapper($key)
    {
        foreach ($this->mappers as $mapper) {
            if ($mapper->accept($key)) {
                return $mapper;
            }
        }

        return null;
    }
605237
protected function fieldValue(string $key)
    {
        return $this->request->input($key)
            ?? $this->request->input("{$this->batchIndex}.{$key}");
    }
577878
protected function getMethodByKey($key)
    {
        $method = explode('-', str_replace(self::DOOZR_COMMAND_PREFIX, '', $key));

        foreach ($method as $key => $node) {
            $method[$key] = ucfirst($node);
        }

        return 'set'.implode('', $method);
    }
20073
private function formatFieldName($key)
    {
        $related_model = $this->revisionable_type;
        $related_model = new $related_model;
        $revisionFormattedFieldNames = $related_model->getRevisionFormattedFieldNames();

        if (isset($revisionFormattedFieldNames[$key])) {
            return $revisionFormattedFieldNames[$key];
        }

        return false;
    }
768026
public static function get( $key ) {

		if ( isset( self::$config[ strtolower( $key ) ] ) ) {
			return self::$config[ strtolower( $key ) ];
		} else {
			return '';
		}

	}
1124787
protected function getMappedKeyName($field)
    {
        $keyName = "OTHER";
        foreach($this->_multiFieldMap as $key => $value) {
            if(in_array($field, $value)) {
                $keyName = $key;
                break;
            }
        }

        return $keyName;
    }
1351411
public function getField($key) {
        if (array_key_exists($key, $this->_fields)) {
            return $this->_fields['' . $key . ''];
        }

        return null;
    }
115955
public function get(string $key): string
    {
        return $this->handle->hGet($this->name, $key);
    }
100015
public function iconGetName($key)
    {
        $iconid = ($this[$key] < 0) ? (pow(2, 32)) - ($this[$key] * -1) : $this[$key];

        return new String("/icon_" . $iconid);
    }
1035115
protected function _convertKeyNames($key)
    {
        if (array_key_exists($key, self::$_cacheKeys)) {
            return self::$_cacheKeys[$key];
        }

        $convertedKey = strtolower(
            preg_replace('/(.)([A-Z0-9])/', "$1_$2", $key)
        );
        self::$_cacheKeys[$key] = $convertedKey;
        return $convertedKey;
    }
980009
public function getField($key)
    {
        $resolved = $this->getResolved();
        if (!$resolved instanceof EntryInterface) {
            return null;
        }

        return $resolved->getField($key);
    }
376063
public function offsetGet( $key )
    {
        $key = strtolower( $key );
        if ( !array_key_exists( $key, $this->lookup ) )
        {
            return null;
        }
        return $this->map[$this->lookup[$key]];
    }
760939
protected function getFilename($key)
    {
        $sha1 = sha1($key);
        $result = $this->path . '/' . substr($sha1, 0, 2) . '/' . substr($sha1, 2) . '.php';

        return $result;
    }
677371
public function getField($key)
    {
        if (!in_array($key, array_keys($this->formFields))) {
            throw FormFieldException::noSuchFieldName($key);
        }
        return $this->formFields[$key];
    }
829611
public function isLazy($key= '') {
        $lazy = false;
        if (empty($key)) {
            $lazy = (count($this->_lazy) > 0);
        } else {
            $key = $this->getField($key, true);
            if ($key !== false) {
                $lazy = in_array($key, $this->_lazy);
            }
        }
        return $lazy;
    }