phpDocumentor

ImageListReader

Class ImageListReader

Table of Contents

$connection  : Connection
__construct()  : mixed
ImageListReader constructor.
filterImageLists()  : array<string|int, mixed>
Returns a filtered, sorted, paginated collection of image lists.
getAllImageLists()  : array<string|int, string>
Returns a collection of all image lists.
getAvailableLanguageCodes()  : array<string|int, mixed>
getImageListById()  : array<string|int, string>
Returns a specific image list based on the given image list ID.
getImageListsTotalCount()  : int
Returns the total count of filtered image lists.
getCountListIdQuery()  : QueryBuilder
getImageListIdsQuery()  : QueryBuilder
getQuery()  : QueryBuilder
restructureDataArray()  : array<string|int, mixed>
Repacks query result in a more suitable structure for later use by the mapper / factory

Properties

Methods

__construct()

ImageListReader constructor.

public __construct(Connection $connection) : mixed
Parameters
$connection : Connection
Return values
mixed

getAllImageLists()

Returns a collection of all image lists.

public getAllImageLists() : array<string|int, string>
Return values
array<string|int, string>

getAvailableLanguageCodes()

public getAvailableLanguageCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCountListIdQuery()

private getCountListIdQuery() : QueryBuilder
Return values
QueryBuilder

getImageListIdsQuery()

private getImageListIdsQuery() : QueryBuilder
Return values
QueryBuilder

getQuery()

private getQuery([array<string|int, mixed>|null $columns = null ][, array<string|int, mixed>|null $order = null ]) : QueryBuilder
Parameters
$columns : array<string|int, mixed>|null = null
$order : array<string|int, mixed>|null = null
Return values
QueryBuilder

restructureDataArray()

Repacks query result in a more suitable structure for later use by the mapper / factory

private restructureDataArray(array<string|int, mixed> $rows) : array<string|int, mixed>
Parameters
$rows : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results