프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cache | Doctrine\Common\Cache\Cache | ||
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface | ||
$twig | Twig_Environment |
메소드 | 설명 | |
---|---|---|
__construct ( Twig_Environment $twig, Sulu\Component\Content\Compat\StructureManagerInterface $structureManager, Doctrine\Common\Cache\Cache $cache ) | ||
getStructures ( $webspaceKey ) |
메소드 | 설명 | |
---|---|---|
loadStructures ( string $webspaceKey ) : array | Returns and caches structures for given webspace. | |
templateExists ( string $template ) : boolean | checks if a template with given name exists. |
public __construct ( Twig_Environment $twig, Sulu\Component\Content\Compat\StructureManagerInterface $structureManager, Doctrine\Common\Cache\Cache $cache ) | ||
$twig | Twig_Environment | |
$structureManager | Sulu\Component\Content\Compat\StructureManagerInterface | |
$cache | Doctrine\Common\Cache\Cache |
protected loadStructures ( string $webspaceKey ) : array | ||
$webspaceKey | string | |
리턴 | array |
protected templateExists ( string $template ) : boolean | ||
$template | string | |
리턴 | boolean |
protected StructureManagerInterface,Sulu\Component\Content\Compat $structureManager | ||
리턴 | Sulu\Component\Content\Compat\StructureManagerInterface |