phpDocumentor

SlideRepositoryReader
in package
implements SlideRepositoryReaderInterface

Class SlideRepositoryReader

Tags
category

System

subpackage

Repositories

Interfaces, Classes and Traits

SlideRepositoryReaderInterface
Interface SlideRepositoryReaderInterface

Table of Contents

$db  : CI_DB_query_builder
Query builder.
$table  : string
Table name
__construct()  : mixed
SlideRepositoryReader constructor.
getById()  : SlideInterface
Returns a Slide instance by the given slide ID.
getBySliderId()  : SlideCollection
Returns a SlideCollection for the given Slider ID.
getBySliderIdAndLanguageId()  : SlideCollection
Returns a SlideCollection with all existing Slide objects by the given slider ID and language ID.
isSlideThumbnailImageFileUsed()  : bool
Check if an image file is used by another slide entry.
_setDbValues()  : mixed
Assign the slide values via the setters.

Properties

Methods

__construct()

SlideRepositoryReader constructor.

public __construct(CI_DB_query_builder $db) : mixed
Parameters
$db : CI_DB_query_builder
Return values
mixed

_setDbValues()

Assign the slide values via the setters.

protected _setDbValues(Slide $slide, array<string|int, mixed> $row) : mixed
Parameters
$slide : Slide

Slide object.

$row : array<string|int, mixed>

Fetched DB row.

Tags
throws
InvalidArgumentException

If $row contains invalid values.

Return values
mixed

Search results