StaticSeoUrlContentRepositoryReader

Implements \StaticSeoUrlContentRepositoryReaderInterface

Class StaticSeoUrlContentRepositoryReader

category

System

package

StaticSeoUrl

subpackage

Repositories

Methods

StaticSeoUrlContentRepositoryReader constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Assign the staticSeoUrlContent values via the setters.

_setDbValues(\StaticSeoUrlContent $staticSeoUrlContent, array $row) 
Throws
\InvalidArgumentException

If $row contains invalid values.

Arguments

$staticSeoUrlContent

\StaticSeoUrlContent

StaticSeoUrlContent object.

$row

array

Fetched DB row.

Returns a StaticSeoUrlContent instance by the given staticSeoUrlContent ID.

getById(\IdType $staticSeoUrlContentId) : \StaticSeoUrlContentInterface
Throws
\UnexpectedValueException
\InvalidArgumentException

Arguments

$staticSeoUrlContentId

\IdType

Response

\StaticSeoUrlContentInterface

Returns a StaticSeoUrlContentCollection for the given StaticSeoUrl ID.

getByStaticSeoUrlId(\IdType $staticSeoUrlId) : \StaticSeoUrlContentCollection
Throws
\UnexpectedValueException
\InvalidArgumentException

Arguments

$staticSeoUrlId

\IdType

Response

\StaticSeoUrlContentCollection

All staticSeoUrlContents found by the staticSeoUrlId ID as a StaticSeoUrlContentCollection.

Properties

Table name

table : string
var

Type(s)

string

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder