Méthode | Description | |
---|---|---|
create ( string $webspaceKey, array $data, string | null $locale = null ) : |
Create a new custom-url with given data. | |
delete ( string $uuid ) : |
Delete custom-url identified by uuid. | |
deleteRoute ( string $webspaceKey, string $uuid ) : |
Delete route of a custom-url. | |
find ( string $uuid, string | null $locale = null ) : |
Returns a single custom-url object identified by uuid. | |
findByPage ( Sulu\Component\DocumentManager\Behavior\Mapping\UuidBehavior $page ) : |
Returns a list of custom-url documents which targeting the given page. | |
findByUrl ( string $url, string $webspaceKey, string $locale = null ) : |
Returns a single custom-url object identified by url. | |
findList ( string $webspaceKey, $locale ) : array | Returns a list of custom-url data (in a assoc-array). | |
findRouteByUrl ( string $url, string $webspaceKey, string $locale = null ) : |
Returns route for a custom-url object. | |
findUrls ( string $webspaceKey ) : string[] | Returns a list of custom-urls. | |
invalidate ( |
Invalidate http-cache for given document. | |
invalidateRoute ( string $webspaceKey, |
Invalidate http-cache for given route-document. | |
save ( string $uuid, array $data, string | null $locale = null ) : |
Update a single custom-url object identified by uuid with given data. |
public deleteRoute ( string $webspaceKey, string $uuid ) : |
||
$webspaceKey | string | |
$uuid | string | |
Résultat |
public findByPage ( Sulu\Component\DocumentManager\Behavior\Mapping\UuidBehavior $page ) : |
||
$page | Sulu\Component\DocumentManager\Behavior\Mapping\UuidBehavior | |
Résultat |
public invalidate ( |
||
$document |
public invalidateRoute ( string $webspaceKey, |
||
$webspaceKey | string | |
$routeDocument |