ContentTypeExtension
trait ContentTypeExtension
ContentTypeExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Traits
Methods
Returns a ContentTypeSnapshot resource.
Returns a ResourceArray object which contains ContentTypeSnapshot resources.
No description
Returns an EditorInterface resource.
Returns a ContentType resource.
Returns a ResourceArray object which contains ContentType resources.
Returns a published ContentType resource.
Returns a ResourceArray object which contains published ContentType resources.
Details
in ContentTypeSnapshotExtension at line 33
getContentTypeSnapshot(string $spaceId, string $environmentId, string $contentTypeId, string $snapshotId)
Returns a ContentTypeSnapshot resource.
in ContentTypeSnapshotExtension at line 48
getContentTypeSnapshots(string $spaceId, string $environmentId, string $contentTypeId, Query $query = null)
Returns a ResourceArray object which contains ContentTypeSnapshot resources.
at line 27
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
in EditorInterfaceExtension at line 33
getEditorInterface(string $spaceId, string $environmentId, string $contentTypeId)
Returns an EditorInterface resource.
at line 37
getContentType(string $spaceId, string $environmentId, string $contentTypeId)
Returns a ContentType resource.
at line 51
getContentTypes(string $spaceId, string $environmentId, Query $query = null)
Returns a ResourceArray object which contains ContentType resources.
at line 64
getPublishedContentType(string $spaceId, string $environmentId, string $contentTypeId)
Returns a published ContentType resource.
at line 78
getPublishedContentTypes(string $spaceId, string $environmentId, Query $query = null)
Returns a ResourceArray object which contains published ContentType resources.