Свойство | Тип | Описание | |
---|---|---|---|
$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 Cache,Doctrine\Common\Cache $cache | ||
Результат | Doctrine\Common\Cache\Cache |
protected StructureManagerInterface,Sulu\Component\Content\Compat $structureManager | ||
Результат | Sulu\Component\Content\Compat\StructureManagerInterface |