PHP Class Sulu\Bundle\ContentBundle\Repository\ResourceLocatorRepository

Inheritance: implements Sulu\Bundle\ContentBundle\Repository\ResourceLocatorRepositoryInterface
Datei anzeigen Open project: sulu/sulu

Public Methods

Method Description
__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 )

Private Methods

Method Description
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

Method Details

__construct() public method

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 method

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

generate() public method

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

getHistory() public method

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