ContentReader

Implements \ContentReaderInterface

Class ContentReader

package

Default

Methods

ContentReader constructor.

__construct(\CI_DB_query_builder $queryBuilder, \ContentIdentificationFactoryInterface $contentIdentificationFactory, \ContentIdResolverInterface $contentIdResolver) 

Arguments

$queryBuilder

\CI_DB_query_builder

$contentIdentificationFactory

\ContentIdentificationFactoryInterface

$contentIdResolver

\ContentIdResolverInterface

findAllInfoElements

findAllInfoElements() : array
Throws
\ContentNotFoundException

Response

array

findById

findById(mixed $id) : array
Throws
\ContentNotFoundException

Arguments

$id

mixed

id of the Content

Response

array

findUrlRewriteByContentId

findUrlRewriteByContentId( $id) : array
Throws
\UrlRewriteNotFoundException

Arguments

$id

Response

array

nextContentGroupId

nextContentGroupId() : \ContentIdentificationInterface

Response

\ContentIdentificationInterface

Properties

CodeIgniter QueryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

contentIdResolver

contentIdResolver : \ContentIdResolverInterface

contentIdentificationFactory

contentIdentificationFactory : \ContentIdentificationFactoryInterface