ContentRepositoryInterface

Extends

Interface ContentRepositoryInterface

category

System

package

Content

subpackage

Interfaces

Methods

deletes the content data in database by id.

deleteById( $contentGroupId) : \ContentRepositoryInterface

Arguments

$contentGroupId

Response

\ContentRepositoryInterface

Same instance for chained method calls.

findById

findById(mixed $id) : mixed
Throws
\ContentNotFoundException

Arguments

$id

mixed

id of the Content

Response

mixed

getAllInfoElements

getAllInfoElements() : array<mixed,\InfoElementContent>
Throws
\ContentNotFoundException
\UnfinishedBuildException

Response

array<mixed,\InfoElementContent>

nextContentGroupId

nextContentGroupId() : integer

Response

integer

Save the info element content

storeInfoElementContent(\InfoElementContent $infoElementContent) : \ContentRepositoryInterface

Arguments

$infoElementContent

\InfoElementContent

Info element content

Response

\ContentRepositoryInterface

Same instance for chained method calls

Save the info page content

storeInfoPageContent(\InfoPageContent $infoPageContent) : \ContentRepositoryInterface

Arguments

$infoPageContent

\InfoPageContent

Info page content

Response

\ContentRepositoryInterface

Same instance for chained method calls

Save the link page content

storeLinkPageContent(\LinkPageContent $linkPageContent) : \ContentRepositoryInterface

Arguments

$linkPageContent

\LinkPageContent

Link page content

Response

\ContentRepositoryInterface

Same instance for chained method calls

Updates an info element content

updateInfoElementContent(\InfoElementContent $infoElement) 

Arguments

$infoElement

\InfoElementContent

Updates an info page content.

updateInfoPageContent(\InfoPageContent $infoPage) 

Arguments

$infoPage

\InfoPageContent

Updates a link page content.

updateLinkPageContent(\LinkPageContent $linkPage) 

Arguments

$linkPage

\LinkPageContent