Get built-in format code

@param    int        $pIndex
@return    string
491931
public static function builtInFormatCode($pIndex)
    {
        // Clean parameter
        $pIndex = intval($pIndex);

        // Ensure built-in format codes are available
        self::fillBuiltInFormatCodes();

        // Lookup format code
        if (isset(self::$builtInFormats[$pIndex])) {
            return self::$builtInFormats[$pIndex];
        }

        return '';
    }
818246
protected function getPhpInfo(): string
	{
		ob_start();
		phpinfo();
		$result = ob_get_contents();
		ob_end_clean();

		$result = preg_replace('%^.*<body>(.*)</body>.*$%ms', '$1', $result);
		$result = preg_replace('/,\s*/', ', ', $result);
		return $result;
	}
952482
public function getArgument($argIndex) {
        return isset($this->args[$argIndex]) ? $this->args[$argIndex] : null;
    }
199871
public function getPostalCode() : ?string 
    {
        if ( ! $this->hasPostalCode()) {
            $this->setPostalCode($this->getDefaultPostalCode());
        }
        return $this->postalCode;
    }
946803
public function getApiKey($decoded = false)
    {
        return ($decoded === false) ? $this->apiKey : base64_decode($this->apiKey);
    }
39148
private function formatHex(string $hex): string
    {
        $hex = str_pad($hex, 32, '0');
        preg_match('/([a-f0-9]{8})([a-f0-9]{4})([a-f0-9]{4})([a-f0-9]{4})([a-f0-9]{12})/', $hex, $matches);
        array_shift($matches);
        $expandedUUID = implode('-', $matches);

        return $expandedUUID;
    }
1231217
public function getStyle($compiled = false)
    {
        if ($compiled) {
            $style = [];
            foreach ($this->style as $property => $value) {
                $style[] = "{$property}: {$value}";
            }

            return implode('; ', $style);
        }

        return $this->style;
    }
1272565
public function getAddIndexDDL(Index $index)
    {
        // don't create index form primary key
        if ($this->getPrimaryKeyName($index->getTable()) == $this->quoteIdentifier($index->getName())) {
            return '';
        }

        $pattern = "
CREATE %sINDEX %s ON %s (%s)%s;
";

        return sprintf($pattern,
            $index->isUnique() ? 'UNIQUE ' : '',
            $this->quoteIdentifier($index->getName()),
            $this->quoteIdentifier($index->getTable()->getName()),
            $this->getColumnListDDL($index->getColumnObjects()),
            $this->generateBlockStorage($index)
        );
    }
448323
public function getRule($pIndex)
    {
        if (!isset($this->ruleset[$pIndex])) {
            $this->ruleset[$pIndex] = new PHPExcel_Worksheet_AutoFilter_Column_Rule($this);
        }
        return $this->ruleset[$pIndex];
    }
334344
public byte getMask(final int pIndex, final int pLength) {
		byte ret = (byte) DEFAULT_VALUE;
		// Add X 0 to the left
		ret = (byte) (ret << pIndex);
		ret = (byte) ((ret & DEFAULT_VALUE) >> pIndex);
		// Add X 0 to the right
		int dec = BYTE_SIZE - (pLength + pIndex);
		if (dec > 0) {
			ret = (byte) (ret >> dec);
			ret = (byte) (ret << dec);
		}
		return ret;
	}
323777
static public function getYandexData($addressString)
    {
        $request    = (new Client([
                            'formatters' =>
                            [
                                Client::FORMAT_JSON => JsonFormatter::class
                            ]
                        ]))->createRequest()
                        ->setUrl("https://geocode-maps.yandex.ru/1.x/?geocode={$addressString}&format=json")
                        ->setOptions([
                            'timeout' => 1
                        ])
        ;
        $response = $request->send();

        if ($response->isOk)
        {
            return (array) $response->data;
        }

        return [];
    }
211692
public function getByIndex($pIndex = 0)
    {
        if (isset($this->keyMap[$pIndex])) {
            return $this->getByHashCode($this->keyMap[$pIndex]);
        }

        return null;
    }
191300
function GetCampCode($strMessageIndex) {
        if($this->posnetResponse->koiInfo == null)
            return "";

        if(array_key_exists($strMessageIndex, $this->posnetResponse->koiInfo))
            return $this->posnetResponse->koiInfo[$strMessageIndex]['code'];
        else
            return "";
    }
15045
public function deleteRule($pIndex)
    {
        if (isset($this->ruleset[$pIndex])) {
            unset($this->ruleset[$pIndex]);
            //    If we've just deleted down to a single rule, then reset And/Or joining to Or
            if (count($this->ruleset) <= 1) {
                $this->setJoin(self::AUTOFILTER_COLUMN_JOIN_OR);
            }
        }

        return $this;
    }
1128922
public function getNumber(int $index): string
    {
        if ($index >= count($this->numbers)) {
            throw new \UndefinedOffsetException();
        }
        return $this->numbers[$index];
    }
770566
public function GetCode () {
		if ($this->code === NULL) {
			$phpCode = http_response_code();
			$this->code = $phpCode === FALSE ? static::OK : $phpCode;
		}
		return $this->code;
	}
1100874
protected function buildInlineCode() {
        $result = '';
        if (!$this->events->isEmpty()) {
            $variableName = $this->getTimersVariableName();

            $result = 'foreach (Time => Name in ' . $variableName . ') {' . PHP_EOL
                . '    if (Time <= CurrentTime) {' . PHP_EOL
                . '        switch (Name) {' . PHP_EOL;

            foreach ($this->events as $event) {
                /* @var $event \ManiaScript\Builder\Event\Timer */
                $result .= '            case "' . $event->getName() . '": {' . PHP_EOL;
                if ($event->getInline()) {
                    $result .= $event->getCode() . PHP_EOL;
                } else {
                    $result .= '                ' . $this->buildHandlerFunctionCall($event) . PHP_EOL;
                }
                $result .= '            }' . PHP_EOL;
            }

            $result .= '        }' . PHP_EOL
                . '        declare Temp = ' . $variableName . '.removekey(Time);' . PHP_EOL
                . '    }' . PHP_EOL
                . '}' . PHP_EOL;
        }
        return $result;
    }