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

Inheritance: extends Twig_Extension, implements Sulu\Bundle\WebsiteBundle\Twig\Content\ContentTwigExtensionInterface
ファイルを表示 Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, Sulu\Bundle\WebsiteBundle\Resolver\StructureResolverInterface $structureResolver, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer ) Constructor.
getFunctions ( )
getName ( )
load ( $uuid )
loadParent ( $uuid )

Method Details

__construct() public method

Constructor.
public __construct ( Sulu\Component\Content\Mapper\ContentMapperInterface $contentMapper, Sulu\Bundle\WebsiteBundle\Resolver\StructureResolverInterface $structureResolver, Sulu\Component\PHPCR\SessionManager\SessionManagerInterface $sessionManager, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer )
$contentMapper Sulu\Component\Content\Mapper\ContentMapperInterface
$structureResolver Sulu\Bundle\WebsiteBundle\Resolver\StructureResolverInterface
$sessionManager Sulu\Component\PHPCR\SessionManager\SessionManagerInterface
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface

getFunctions() public method

public getFunctions ( )

getName() public method

public getName ( )

load() public method

public load ( $uuid )

loadParent() public method

public loadParent ( $uuid )