PHP Interface Sulu\Bundle\ContentBundle\Repository\ResourceLocatorRepositoryInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
delete ( string $path, string $webspaceKey, string $languageCode, null | string $segmentKey = null ) : mixed deletes given resource locator.
generate ( string[] $parts, null | string $parentUuid, string $webspaceKey, string $languageCode, string $templateKey, null | string $segmentKey = null ) : string generates a resource locator with given title.
getHistory ( string $uuid, string $webspaceKey, string $languageCode ) : array

Method Details

delete() public méthode

deletes given resource locator.
public delete ( string $path, string $webspaceKey, string $languageCode, null | string $segmentKey = null ) : mixed
$path string
$webspaceKey string
$languageCode string
$segmentKey null | string
Résultat mixed

generate() public méthode

generates a resource locator with given title.
public generate ( string[] $parts, null | string $parentUuid, string $webspaceKey, string $languageCode, string $templateKey, null | string $segmentKey = null ) : string
$parts string[] parts of title
$parentUuid null | string uuid of parent node (can be null)
$webspaceKey string
$languageCode string
$templateKey string
$segmentKey null | string
Résultat string

getHistory() public méthode

public getHistory ( string $uuid, string $webspaceKey, string $languageCode ) : array
$uuid string
$webspaceKey string
$languageCode string
Résultat array