PHP Class Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension

Inheritance: extends Twig_Extension, implements Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, $environment, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer = null )
getContentPath ( $route, $webspaceKey = null, $locale = null, $domain = null, $scheme = null, $withoutDomain = true )
getContentRootPath ( $full = false )
getFunctions ( )
getName ( )

Method Details

__construct() public method

public __construct ( Sulu\Component\Webspace\Manager\WebspaceManagerInterface $webspaceManager, $environment, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer = null )
$webspaceManager Sulu\Component\Webspace\Manager\WebspaceManagerInterface
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface

getContentPath() public method

public getContentPath ( $route, $webspaceKey = null, $locale = null, $domain = null, $scheme = null, $withoutDomain = true )

getContentRootPath() public method

public getContentRootPath ( $full = false )

getFunctions() public method

public getFunctions ( )

getName() public method

public getName ( )