Class ContentRepository
This class represents the content repository
| category |
System |
|---|---|
| package |
Content |
__construct(\ContentWriterInterface $writer, \ContentReaderInterface $reader, \ContentDeleterInterface $deleter, \ContentValueObjectFactory $factory, \ContentIdentificationFactoryInterface $contentIdentificationFactory)
\ContentDeleterInterface
\ContentValueObjectFactory
\ContentIdentificationFactoryInterface
createInfoElementContent(array $data) : \InfoElementContent
| Throws |
|
|---|
array
\InfoElementContent
createInfoPageContent(array $data, array $urlRewriteData) : \InfoPageContent
| Throws |
|
|---|
array
array
\InfoPageContent
createLinkPageContent( $data) : \LinkPageContent
| Throws |
|
|---|
\LinkPageContent
deleteById(\ContentIdentificationInterface $Id) : $this|\ContentRepositoryInterface
\ContentIdentificationInterface
$this|\ContentRepositoryInterfaceSame instance for chained method calls.
findById(mixed $id) : mixed
| Throws |
|
|---|
mixedid of the Content
mixed
getAllInfoElements() : array<mixed,\InfoElementContent>
| Throws |
|
|---|
array<mixed,\InfoElementContent>
nextContentGroupId() : \ContentIdentificationInterface
\ContentIdentificationInterface
storeInfoElementContent(\InfoElementContent $infoElementContent) : \ContentRepositoryInterface
| Throws |
|
|---|
\InfoElementContentInfo element content
\ContentRepositoryInterfaceSame instance for chained method calls
storeInfoPageContent(\InfoPageContent $infoPageContent) : \ContentRepositoryInterface
| Throws |
|
|---|
\InfoPageContentInfo page content
\ContentRepositoryInterfaceSame instance for chained method calls
storeLinkPageContent(\LinkPageContent $linkPageContent) : \ContentRepositoryInterface
| Throws |
|
|---|
\LinkPageContentLink page content
\ContentRepositoryInterfaceSame instance for chained method calls
updateInfoElementContent(\InfoElementContent $infoElement)
| Throws |
|
|---|
\InfoElementContent
updateInfoPageContent(\InfoPageContent $infoPage)
| Throws |
|
|---|
\InfoPageContent
updateLinkPageContent(\LinkPageContent $linkPage)
| Throws |
|
|---|
\LinkPageContent
writer : \ContentWriter
| var |
|---|
\ContentWriter
contentIdentificationFactory : \ContentIdentificationFactoryInterface