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|\ContentRepositoryInterface
Same instance for chained method calls.
findById(mixed $id) : mixed
Throws |
|
---|
mixed
id of the Content
mixed
getAllInfoElements() : array<mixed,\InfoElementContent>
Throws |
|
---|
array<mixed,\InfoElementContent>
nextContentGroupId() : integer
integer
storeInfoElementContent(\InfoElementContent $infoElementContent) : \ContentRepositoryInterface
Throws |
|
---|
\InfoElementContent
Info element content
\ContentRepositoryInterface
Same instance for chained method calls
storeInfoPageContent(\InfoPageContent $infoPageContent) : \ContentRepositoryInterface
Throws |
|
---|
\InfoPageContent
Info page content
\ContentRepositoryInterface
Same instance for chained method calls
storeLinkPageContent(\LinkPageContent $linkPageContent) : \ContentRepositoryInterface
Throws |
|
---|
\LinkPageContent
Link page content
\ContentRepositoryInterface
Same instance for chained method calls
updateInfoElementContent(\InfoElementContent $infoElement)
Throws |
|
---|
\InfoElementContent
updateInfoPageContent(\InfoPageContent $infoPage)
Throws |
|
---|
\InfoPageContent
updateLinkPageContent(\LinkPageContent $linkPage)
Throws |
|
---|
\LinkPageContent