PHP Интерфейс Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
getContentPath ( string $route, string $webspaceKey = null, string $locale = null, string $domain = null, string $scheme = 'http' ) : string Generates real url for given content.
getContentRootPath ( boolean $full = false ) : string Generates real root url.

Описание методов

getContentPath() публичный Метод

Generates real url for given content.
public getContentPath ( string $route, string $webspaceKey = null, string $locale = null, string $domain = null, string $scheme = 'http' ) : string
$route string
$webspaceKey string
$locale string
$domain string
$scheme string
Результат string

getContentRootPath() публичный Метод

Generates real root url.
public getContentRootPath ( boolean $full = false ) : string
$full boolean if TRUE the full url will be returned, if FALSE only the current prefix is returned
Результат string