Property | Type | Description | |
---|---|---|---|
$contentGateway | Content gateway. | ||
$contentMapper | Content handler. | ||
$fieldHandler | FieldHandler. | ||
$locationGateway | Gateway for handling location data. | ||
$locationMapper | Location Mapper. |
Method | Description | |
---|---|---|
__construct ( |
||
changeMainLocation ( mixed $contentId, mixed $locationId ) | Changes main location of content identified by given $contentId to location identified by given $locationId. | |
listVersions ( integer $contentId ) : eZ\Publish\SPI\Persistence\Content\VersionInfo[] | Returns the versions for $contentId. | |
loadContentInfo ( integer | string $contentId ) : eZ\Publish\SPI\Persistence\Content\ContentInfo | Returns the metadata object for a content identified by $contentId. | |
loadLocation ( integer $locationId ) : eZ\Publish\SPI\Persistence\Content\Location | Loads the data for the location identified by $locationId. | |
removeRawContent ( integer $contentId ) | Deletes raw content data. | |
removeSubtree ( mixed $locationId ) : boolean | Removes all Locations under and including $locationId. | |
setSectionForSubtree ( mixed $locationId, mixed $sectionId ) | Set section on all content objects in the subtree. |
public __construct ( |
||
$locationGateway | ||
$locationMapper | ||
$contentGateway | ||
$contentMapper | ||
$fieldHandler |
public changeMainLocation ( mixed $contentId, mixed $locationId ) | ||
$contentId | mixed | |
$locationId | mixed |
public listVersions ( integer $contentId ) : eZ\Publish\SPI\Persistence\Content\VersionInfo[] | ||
$contentId | integer | |
return | eZ\Publish\SPI\Persistence\Content\VersionInfo[] |
public loadContentInfo ( integer | string $contentId ) : eZ\Publish\SPI\Persistence\Content\ContentInfo | ||
$contentId | integer | string | |
return | eZ\Publish\SPI\Persistence\Content\ContentInfo |
public loadLocation ( integer $locationId ) : eZ\Publish\SPI\Persistence\Content\Location | ||
$locationId | integer | |
return | eZ\Publish\SPI\Persistence\Content\Location |
public removeRawContent ( integer $contentId ) | ||
$contentId | integer |
public removeSubtree ( mixed $locationId ) : boolean | ||
$locationId | mixed | |
return | boolean |
public setSectionForSubtree ( mixed $locationId, mixed $sectionId ) | ||
$locationId | mixed | |
$sectionId | mixed |
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content $contentGateway | ||
return |
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content $contentMapper | ||
return |
protected FieldHandler,eZ\Publish\Core\Persistence\Legacy\Content $fieldHandler | ||
return |
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Location $locationGateway | ||
return |