프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$contentService | eZ\Publish\API\Repository\ContentService | Content service. | |
$locationService | eZ\Publish\API\Repository\LocationService | Location service. | |
$trashService | eZ\Publish\API\Repository\TrashService | Trash service. |
메소드 | 설명 | |
---|---|---|
__construct ( eZ\Publish\API\Repository\LocationService $locationService, eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\TrashService $trashService ) | Construct controller. | |
copySubtree ( string $locationPath, |
Copies a subtree to a new destination. | |
createLocation ( mixed $contentId, |
Creates a new location for object with id $contentId. | |
deleteSubtree ( string $locationPath ) : eZ\Publish\Core\REST\Server\Values\NoContent | Deletes a location. | |
loadLocation ( string $locationPath ) : |
Loads a location. | |
loadLocationByRemoteId ( |
Loads a location by remote ID. | |
loadLocationChildren ( string $locationPath, |
Loads child locations of a location. | |
loadLocationsForContent ( mixed $contentId, |
Loads all locations for content object. | |
moveSubtree ( string $locationPath, |
Moves a subtree to a new location. | |
redirectLocation ( |
Loads the location for a given ID (x)or remote ID. | |
swapLocation ( string $locationPath, |
Swaps a location with another one. | |
updateLocation ( string $locationPath, |
Updates a location. |
메소드 | 설명 | |
---|---|---|
extractLocationIdFromPath ( string $path ) : mixed | Extracts and returns an item id from a path, e.g. /1/2/58 => 58. |
public __construct ( eZ\Publish\API\Repository\LocationService $locationService, eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\TrashService $trashService ) | ||
$locationService | eZ\Publish\API\Repository\LocationService | |
$contentService | eZ\Publish\API\Repository\ContentService | |
$trashService | eZ\Publish\API\Repository\TrashService |
public copySubtree ( string $locationPath, |
||
$locationPath | string | |
$request | ||
리턴 |
public createLocation ( mixed $contentId, |
||
$contentId | mixed | |
$request | ||
리턴 |
public deleteSubtree ( string $locationPath ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
$locationPath | string | |
리턴 | eZ\Publish\Core\REST\Server\Values\NoContent |
public loadLocation ( string $locationPath ) : |
||
$locationPath | string | |
리턴 |
public loadLocationByRemoteId ( |
||
$request | ||
리턴 |
public loadLocationChildren ( string $locationPath, |
||
$locationPath | string | |
$request | ||
리턴 |
public loadLocationsForContent ( mixed $contentId, |
||
$contentId | mixed | |
$request | ||
리턴 |
public moveSubtree ( string $locationPath, |
||
$locationPath | string | |
$request | ||
리턴 | | \eZ\Publish\Core\REST\Server\Values\NoContent |
public redirectLocation ( |
||
$request | ||
리턴 |
public swapLocation ( string $locationPath, |
||
$locationPath | string | |
$request | ||
리턴 | eZ\Publish\Core\REST\Server\Values\NoContent |
public updateLocation ( string $locationPath, |
||
$locationPath | string | |
$request | ||
리턴 |
protected ContentService,eZ\Publish\API\Repository $contentService | ||
리턴 | eZ\Publish\API\Repository\ContentService |
protected LocationService,eZ\Publish\API\Repository $locationService | ||
리턴 | eZ\Publish\API\Repository\LocationService |