Frontend\Core\Engine\TemplateModifiers::getURLForExtraId PHP 메소드

getURLForExtraId() 공개 정적인 메소드

Fetch an URL based on an extraId syntax: {{ geturlforextraid($extraId, $language) }}
public static getURLForExtraId ( integer $extraId, string $language = null ) : string
$extraId integer The id of the extra.
$language string The language to use, if not provided we will use the loaded language.
리턴 string
    public static function getURLForExtraId($extraId, $language = null)
    {
        $language = $language !== null ? (string) $language : null;
        return Navigation::getURLForExtraId((int) $extraId, $language);
    }