메소드 |
설명 |
|
create ( string $webspaceKey, array $data, string | null $locale = null ) : CustomUrlDocument |
Create a new custom-url with given data. |
|
delete ( string $uuid ) : CustomUrlDocument |
Delete custom-url identified by uuid. |
|
deleteRoute ( string $webspaceKey, string $uuid ) : CustomUrlDocument |
Delete route of a custom-url. |
|
find ( string $uuid, string | null $locale = null ) : CustomUrlDocument |
Returns a single custom-url object identified by uuid. |
|
findByPage ( Sulu\Component\DocumentManager\Behavior\Mapping\UuidBehavior $page ) : CustomUrlDocument[] |
Returns a list of custom-url documents which targeting the given page. |
|
findByUrl ( string $url, string $webspaceKey, string $locale = null ) : CustomUrlDocument |
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 ) : RouteDocument |
Returns route for a custom-url object. |
|
findUrls ( string $webspaceKey ) : string[] |
Returns a list of custom-urls. |
|
invalidate ( CustomUrlDocument $document ) |
Invalidate http-cache for given document. |
|
invalidateRoute ( string $webspaceKey, RouteDocument $routeDocument ) |
Invalidate http-cache for given route-document. |
|
save ( string $uuid, array $data, string | null $locale = null ) : CustomUrlDocument |
Update a single custom-url object identified by uuid with given data. |
|