SlideImageAreaRepositoryReader

Implements \SlideImageAreaRepositoryReaderInterface

Class SlideImageAreaRepositoryReader

category

System

package

Slider

subpackage

Repositories

Methods

SlideImageAreaRepositoryReader constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Query builder.

Assign the SlideImageArea values via the setter.

_setDbValues(\SlideImageArea $slideImageArea, array $row) 
Throws
\InvalidArgumentException

If $row contains invalid values.

Arguments

$slideImageArea

\SlideImageArea

$row

array

Returns a SlideImageArea instance by the given slide image area ID.

getById(\IdType $slideImageAreaId) : \SlideImageAreaInterface
Throws
\InvalidArgumentException
\UnexpectedValueException

Arguments

$slideImageAreaId

\IdType

Response

\SlideImageAreaInterface

Returns a SlideImageAreaCollection instance by the given slide image ID.

getBySlideImageId(\IdType $slideImageId) : \SlideImageAreaCollection

Arguments

$slideImageId

\IdType

ID of the slide image to get.

Response

\SlideImageAreaCollection

Properties

Table name

table : string
var

Type(s)

string

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder