Метод | Описание | |
---|---|---|
__construct ( Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, |
||
create ( $webspaceKey, array $data, $locale = null ) | ||
delete ( $uuid ) | ||
deleteRoute ( $webspaceKey, $uuid ) | ||
find ( $uuid, $locale = null ) | ||
findByPage ( Sulu\Component\DocumentManager\Behavior\Mapping\UuidBehavior $page ) | ||
findByUrl ( $url, $webspaceKey, $locale = null ) | ||
findList ( $webspaceKey, $locale ) | ||
findRouteByUrl ( $url, $webspaceKey, $locale = null ) | ||
findUrls ( $webspaceKey ) | ||
invalidate ( |
||
invalidateRoute ( $webspaceKey, |
||
save ( $uuid, array $data, $locale = null ) |
Метод | Описание | |
---|---|---|
findRoute ( string $uuid ) : |
Read route of custom-url identified by uuid. |
Метод | Описание | |
---|---|---|
bind ( |
Bind data array to given document. | |
getItemsPath ( $webspaceKey ) : string | Returns path to custom-url documents. | |
getRoutesPath ( $webspaceKey ) : string | Returns base path to custom-url routes. |
public __construct ( Sulu\Component\DocumentManager\DocumentManagerInterface $documentManager, |
||
$documentManager | Sulu\Component\DocumentManager\DocumentManagerInterface | |
$customUrlRepository | ||
$metadataFactory | Sulu\Component\DocumentManager\MetadataFactoryInterface | |
$pathBuilder | Sulu\Component\DocumentManager\PathBuilder | |
$cacheHandler | Sulu\Component\HttpCache\HandlerInvalidatePathInterface |
public findByPage ( Sulu\Component\DocumentManager\Behavior\Mapping\UuidBehavior $page ) | ||
$page | Sulu\Component\DocumentManager\Behavior\Mapping\UuidBehavior |
public invalidate ( |
||
$document |
public invalidateRoute ( $webspaceKey, |
||
$routeDocument |