StaticSeoUrlRepositoryReader

Implements \StaticSeoUrlRepositoryReaderInterface

Class StaticSeoUrlRepositoryReader

category

System

package

StaticSeoUrl

subpackage

Repositories

Methods

StaticSeoUrlRepositoryReader constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Query builder.

Assign the StaticSeoUrl values via the setter.

_setDbValues(\StaticSeoUrl $staticSeoUrl, array $row) 
Throws
\InvalidArgumentException

If $row contains invalid values.

Arguments

$staticSeoUrl

\StaticSeoUrl

$row

array

Returns a StaticSeoUrlCollection with all existing StaticSeoUrl objects.

getAll() : \StaticSeoUrlCollection

Returns a StaticSeoUrl instance by the given staticSeoUrl ID.

getById(\IdType $staticSeoUrlId) : \StaticSeoUrlInterface
Throws
\UnexpectedValueException

if no staticSeoUrl record for the provided staticSeoUrl ID was found.

Arguments

$staticSeoUrlId

\IdType

Response

\StaticSeoUrlInterface

Properties

Table name

table : string
var

Type(s)

string

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder