DmitryDulepov\Realurl\Encoder\UrlEncoder::encodeUrlParameterBlockUsingLookupTable PHP Метод

encodeUrlParameterBlockUsingLookupTable() защищенный Метод

Uses lookUpMap to set the segment.
protected encodeUrlParameterBlockUsingLookupTable ( string $getVarName, string $getVarValue, array $configuration, array &$segments, string &$previousValue ) : boolean
$getVarName string
$getVarValue string
$configuration array
$segments array
$previousValue string
Результат boolean
    protected function encodeUrlParameterBlockUsingLookupTable($getVarName, $getVarValue, array $configuration, array &$segments, &$previousValue)
    {
        $result = FALSE;
        if (isset($configuration['lookUpTable'])) {
            $previousValue = $getVarValue;
            $segments[] = rawurlencode($this->createAliasForValue($getVarValue, $configuration['lookUpTable']));
            $result = TRUE;
        }
        return $result;
    }