ContentRepositoryInterface
in
Interface ContentRepositoryInterface
Tags
Table of Contents
- deleteById() : ContentRepositoryInterface
- deletes the content data in database by id.
- findById() : mixed
- getAllContentPages() : array<string|int, mixed>
- getAllInfoElements() : array<string|int, InfoElementContent>
- nextContentGroupId() : ContentIdentificationInterface
- storeInfoElementContent() : ContentRepositoryInterface
- Save the info element content
- storeInfoPageContent() : ContentRepositoryInterface
- Save the info page content
- storeLinkPageContent() : ContentRepositoryInterface
- Save the link page content
- updateInfoElementContent() : void
- Updates an info element content
- updateInfoPageContent() : void
- Updates an info page content.
- updateLinkPageContent() : void
- Updates a link page content.
Methods
deleteById()
deletes the content data in database by id.
public
deleteById(ContentIdentificationInterface $Id) : ContentRepositoryInterface
Parameters
Return values
ContentRepositoryInterface —Same instance for chained method calls.
findById()
public
findById(mixed $id) : mixed
Parameters
- $id : mixed
-
id of the Content
Tags
Return values
mixed —getAllContentPages()
public
getAllContentPages() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAllInfoElements()
public
getAllInfoElements() : array<string|int, InfoElementContent>
Tags
Return values
array<string|int, InfoElementContent> —nextContentGroupId()
public
nextContentGroupId() : ContentIdentificationInterface
Return values
ContentIdentificationInterface —storeInfoElementContent()
Save the info element content
public
storeInfoElementContent(InfoElementContent $infoElementContent) : ContentRepositoryInterface
Parameters
- $infoElementContent : InfoElementContent
-
Info element content
Return values
ContentRepositoryInterface —Same instance for chained method calls
storeInfoPageContent()
Save the info page content
public
storeInfoPageContent(InfoPageContent $infoPageContent) : ContentRepositoryInterface
Parameters
- $infoPageContent : InfoPageContent
-
Info page content
Return values
ContentRepositoryInterface —Same instance for chained method calls
storeLinkPageContent()
Save the link page content
public
storeLinkPageContent(LinkPageContent $linkPageContent) : ContentRepositoryInterface
Parameters
- $linkPageContent : LinkPageContent
-
Link page content
Return values
ContentRepositoryInterface —Same instance for chained method calls
updateInfoElementContent()
Updates an info element content
public
updateInfoElementContent(InfoElementContent $infoElement) : void
Parameters
- $infoElement : InfoElementContent
Return values
void —updateInfoPageContent()
Updates an info page content.
public
updateInfoPageContent(InfoPageContent $infoPage) : void
Parameters
- $infoPage : InfoPageContent
Return values
void —updateLinkPageContent()
Updates a link page content.
public
updateLinkPageContent(LinkPageContent $linkPage) : void
Parameters
- $linkPage : LinkPageContent