Get the encoding mode name

@return string
19122
public function getModeName()
    {
        return $this->isNumericData()
            ? self::NUMERIC_MODE
            : ( $this->isAlphaNumericData()
                ? self::ALPHA_NUMERIC_MODE
                : self::EIGHT_BITS_MODE
            );
    }
284335
public function getMimeEncoding(): ?string
	{
		$info = finfo_open(FILEINFO_MIME_ENCODING);

		$encoding = finfo_file($info, $this->getPathname());

		finfo_close($info);

		return $encoding ?: null;
	}
1037026
public function getPrintableName() : string
    {
        $characteristic = $this->getCharacteristic();

        if ($characteristic === Option::LONG)
        {
            $prefix = '--';
        }
        elseif ($characteristic === Option::SHORT)
        {
            $prefix = '-';
        }

        return $prefix.$this->name;
    }
925508
public function getCharset()
    {
        $charset = $this->getHeaderParameter('Content-Type', 'charset');
        if ($charset === null) {
            $contentType = $this->getContentType();
            if ($contentType === 'text/plain' || $contentType === 'text/html') {
                return 'ISO-8859-1';
            }
            return null;
        }
        return trim(strtoupper($charset));
    }
1374156
public function toString()
    {
        if (substr($this->name, -2) === '()') {
            return PHP_EOL . substr($this->name, 0, -2) . '(' . implode($this->glue, $this->elements) . ')';
        } else {
            return PHP_EOL . $this->name . ' ' . implode($this->glue, $this->elements);
        }
    }
728053
public function getSizingModeDisplayName()
    {
        $sizingModeDisplayNames = [
            self::RESIZE_PROPORTIONAL => t('Proportional'),
            self::RESIZE_EXACT => t('Exact'),
        ];

        return $sizingModeDisplayNames[$this->getSizingMode()];
    }
1177828
public function getcfg(){
		$str='//'.$this->name.PHP_EOL;
		$str.='define(\''.$this->alias.'\','.(int)$this->getVal().');'.PHP_EOL;
		return $str;
		}
1119181
public function getEncodings()
    {
        if (null !== $this->encodings) {
            return $this->encodings;
        }

        return $this->encodings = array_keys(AcceptHeader::fromString($this->headers->get('Accept-Encoding'))->all());
    }
1130691
private function getUriPrefix()
	{
		$mode = strtolower($this->getMode());
		switch ($mode) {
			case 'live':
				$prefix = CheckoutApi_Client_Constant::APIGW3_URI_PREFIX_LIVE.CheckoutApi_Client_Constant::VERSION.'/';
				break;
            default :
                $prefix = CheckoutApi_Client_Constant::APIGW3_URI_PREFIX_SANDBOX.CheckoutApi_Client_Constant::VERSION.'/';
                break;    
		}
		return $prefix;
	}
603560
private function getEncodingTypeMiddleware()
    {
        return static function (callable $handler) {
            return function (Command $command, $request = null) use ($handler) {
                $autoSet = false;
                if ($command->getName() === 'ListObjects'
                    && empty($command['EncodingType'])
                ) {
                    $command['EncodingType'] = 'url';
                    $autoSet = true;
                }

                return $handler($command, $request)
                    ->then(function (ResultInterface $result) use ($autoSet) {
                        if ($result['EncodingType'] === 'url' && $autoSet) {
                            static $topLevel = [
                                'Delimiter',
                                'Marker',
                                'NextMarker',
                                'Prefix',
                            ];
                            static $nested = [
                                ['Contents', 'Key'],
                                ['CommonPrefixes', 'Prefix'],
                            ];

                            foreach ($topLevel as $key) {
                                if (isset($result[$key])) {
                                    $result[$key] = urldecode($result[$key]);
                                }
                            }
                            foreach ($nested as $steps) {
                                if (isset($result[$steps[0]])) {
                                    foreach ($result[$steps[0]] as &$part) {
                                        if (isset($part[$steps[1]])) {
                                            $part[$steps[1]]
                                                = urldecode($part[$steps[1]]);
                                        }
                                    }
                                }
                            }

                        }

                        return $result;
                    });
            };
        };
    }
415100
protected function getNameWithoutPrefix()
    {
        if ($this->isObjectAccessorMode()) {
            $propertySegments = explode('.', $this->arguments['property']);
            $formObjectName = $this->viewHelperVariableContainer->get(\TYPO3\Fluid\ViewHelpers\FormViewHelper::class, 'formObjectName');
            if (!empty($formObjectName)) {
                array_unshift($propertySegments, $formObjectName);
            }
            $name = array_shift($propertySegments);
            foreach ($propertySegments as $segment) {
                $name .= '[' . $segment . ']';
            }
        } else {
            $name = $this->arguments['name'];
        }
        if ($this->hasArgument('value')) {
            /** @var object $value */
            $value = $this->arguments['value'];
            $multiple = $this->hasArgument('multiple') && $this->arguments['multiple'] === true;
            if (!$multiple
                && is_object($value)
                && $this->persistenceManager->getIdentifierByObject($value) !== null
                && (!$this->persistenceManager->isNewObject($value))) {
                $name .= '[__identity]';
            }
        }

        return $name;
    }
261224
public static function getSupportedEncodings()
    {
        if (static::$encodings === null) {
            static::$encodings = array_map('strtoupper', mb_list_encodings());

            // FIXME: Converting € (UTF-8) to ISO-8859-16 gives a wrong result
            $indexIso885916 = array_search('ISO-8859-16', static::$encodings, true);
            if ($indexIso885916 !== false) {
                unset(static::$encodings[$indexIso885916]);
            }
        }

        return static::$encodings;
    }
412552
public function getTagFiltersDisplayName()
    {
        $expanded = $this->getTagFiltersExpanded();
        if ($expanded === null) {
            $result = tc('Tags', 'none');
        } elseif (count($expanded) === 0) {
            $result = tc('Tags', 'all');
        } else {
            $list = [];
            foreach ($expanded as $x) {
                switch ($x['operator']) {
                    case '<=':
                        $op = '≤';
                        break;
                    case '>=':
                        $op = '≥';
                        break;
                    default:
                        $op = $x['operator'];
                        break;
                }
                $list[] = "$op {$x['version']}";
            }
            $result = implode(' ∧ ', $list);
        }

        return $result;
    }
402289
public function get_name() {
        $identifier = 'cachedef_'.clean_param($this->area, PARAM_STRINGID);
        $component = $this->component;
        if ($component === 'core') {
            $component = 'cache';
        }
        return new lang_string($identifier, $component);
    }
70998
public function getExtendedName()
    {
        $type = $this->getType();

        if ($type) {
            $extendedName = $type->getName();
        } else {
            $extendedName = '';
        }

        $catTitle = $this->getCategoryTitle();
        if ($catTitle !== null) {
            $extendedName .= '-' . $this->getCategoryTitle();
        }

        $extendedName .= '-' . $this->getName();

        return $extendedName;
    }
1168567
public function decoded(): ?string
    {
        return $this->encodeComponent($this->fragment, self::NO_ENCODING, self::REGEXP_FRAGMENT_ENCODING);
    }
365873
public function getCodeAsString()
    {
        switch ($this->getCode()) {
            case self::BURIED:
                return 'Buried';
                break;

            case self::NOT_FOUND:
                return 'Not Found';
                break;

            case self::EXPECTED_CRLF:
                return 'Expected CRLF';
                break;

            case self::JOB_TOO_BIG:
                return 'Job Too Big';
                break;

            case self::DEADLINE_SOON:
                return 'Deadline Soon';
                break;

            case self::TIMED_OUT:
                return 'Timed Out';
                break;

            case self::TUBE_NAME_TOO_LONG:
                return 'Tube Name Too Long';
                break;

            case self::NOT_IGNORED:
                return 'Not Ignored';
                break;

            case self::OUT_OF_MEMORY:
                return 'Out of Memory';
                break;

            case self::INTERNAL_ERROR:
                return 'Internal Error';
                break;

            case self::BAD_FORMAT:
                return 'Bad Format';
                break;

            case self::UNKNOWN_COMMAND:
                return 'Unknown Command';
                break;

            case self::SERVER_OFFLINE:
                return 'Server Offline';
                break;

            case self::SERVER_READ:
                return 'Server Read Error';
                break;

            case self::SERVER_WRITE:
                return 'Server Write Error';
                break;

            default:
                return 'Unknown';
                break;
        }
    }