Method | Description | |
---|---|---|
deleteByPath ( string $path, string $webspaceKey, string $languageCode, string $segmentKey = null ) | Deletes given resource locator node. | |
generate ( string $title, string $parentUuid, string $webspaceKey, string $languageCode, string $segmentKey = null ) : string | Returns whole path for given title and parent-uuid. | |
getChildPart ( $resourceSegment ) : string | Returns the child part from the given resource segment. | |
getInputType ( ) : string | Returns input-type for javscript-component. | |
isValid ( string $path, string $webspaceKey, string $languageCode, string $segmentKey = null ) : boolean | Checks if path is valid. | |
loadByContent ( Sulu\Component\Content\Document\Behavior\ResourceSegmentBehavior $document ) : string | Returns path for given contentNode. | |
loadByContentUuid ( string $uuid, string $webspaceKey, string $languageCode, string $segmentKey = null ) : string | Returns path for given contentNode. | |
loadByResourceLocator ( string $resourceLocator, string $webspaceKey, string $languageCode, string $segmentKey = null ) : string | Returns the uuid of referenced content node. | |
loadHistoryByContentUuid ( string $uuid, string $webspaceKey, string $languageCode, string $segmentKey = null ) : |
Returns history for given contentNode. | |
save ( Sulu\Component\Content\Document\Behavior\ResourceSegmentBehavior $document, integer $userId ) | Creates a new route for given path. |
public generate ( string $title, string $parentUuid, string $webspaceKey, string $languageCode, string $segmentKey = null ) : string | ||
$title | string | title of new node |
$parentUuid | string | uuid of the parent of the new node |
$webspaceKey | string | key of portal |
$languageCode | string | |
$segmentKey | string | |
return | string | whole path |
public getChildPart ( $resourceSegment ) : string | ||
$resourceSegment | ||
return | string |
public getInputType ( ) : string | ||
return | string |
public loadByContent ( Sulu\Component\Content\Document\Behavior\ResourceSegmentBehavior $document ) : string | ||
$document | Sulu\Component\Content\Document\Behavior\ResourceSegmentBehavior | reference node |
return | string | path |
public loadHistoryByContentUuid ( string $uuid, string $webspaceKey, string $languageCode, string $segmentKey = null ) : |
||
$uuid | string | uuid of contentNode |
$webspaceKey | string | key of portal |
$languageCode | string | |
$segmentKey | string | |
return |