PHP Класс Sulu\Bundle\ContentBundle\Repository\ResourceLocatorRepository

Наследование: implements Sulu\Bundle\ContentBundle\Repository\ResourceLocatorRepositoryInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Sulu\Component\Content\Types\ResourceLocator\Strategy\ResourceLocatorStrategyPoolInterface $resourceLocatorStrategyPool, Sulu\Component\Content\Compat\StructureManagerInterface $structureManager )
delete ( $path, $webspaceKey, $languageCode, $segmentKey = null )
generate ( $parts, $parentUuid, $webspaceKey, $languageCode, $templateKey, $segmentKey = null )
getHistory ( $uuid, $webspaceKey, $languageCode )

Приватные методы

Метод Описание
getBasePath ( null | string $uuid = null, integer $default = 1 ) : string returns base path fo given uuid.
implodeRlpParts ( Sulu\Component\Content\Compat\StructureInterface $structure, array $parts, string $separator = '-' ) : string

Описание методов

__construct() публичный Метод

public __construct ( Sulu\Component\Content\Types\ResourceLocator\Strategy\ResourceLocatorStrategyPoolInterface $resourceLocatorStrategyPool, Sulu\Component\Content\Compat\StructureManagerInterface $structureManager )
$resourceLocatorStrategyPool Sulu\Component\Content\Types\ResourceLocator\Strategy\ResourceLocatorStrategyPoolInterface
$structureManager Sulu\Component\Content\Compat\StructureManagerInterface

delete() публичный Метод

public delete ( $path, $webspaceKey, $languageCode, $segmentKey = null )

generate() публичный Метод

public generate ( $parts, $parentUuid, $webspaceKey, $languageCode, $templateKey, $segmentKey = null )

getHistory() публичный Метод

public getHistory ( $uuid, $webspaceKey, $languageCode )