Class ContentRepository
This class represents the content repository
| category |
System |
|---|---|
| package |
Content |
__construct(\ContentWriterInterface $writer, \ContentReaderInterface $reader, \ContentDeleterInterface $deleter, \ContentValueObjectFactory $factory)
createInfoElementContent(array $data) : \InfoElementContent
| Throws |
|
|---|
array
\InfoElementContent
createInfoPageContent(array $data, array $urlRewriteData) : \InfoPageContent
| Throws |
|
|---|
array
array
\InfoPageContent
createLinkPageContent( $data) : \LinkPageContent
| Throws |
|
|---|
\LinkPageContent
deleteById( $contentGroupId) : $this|\ContentRepositoryInterface
$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() : integer
integer
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