PHP 인터페이스 Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
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