phpDocumentor

OrderStatusReader implements OrderStatusReaderInterface

Class OrderStatusReader

Tags
category

System

subpackage

Repositories

Interfaces, Classes and Traits

OrderStatusReaderInterface
Interface OrderStatusReaderInterface

Table of Contents

$id  : string
$queryBuilder  : CI_DB_query_builder
$table  : string
__construct()  : mixed
OrderStatusReader constructor.
getAllOrderStatus()  : array<string|int, mixed>
Alias of getAllOrderStatuses()
getAllOrderStatuses()  : array<string|int, mixed>
Returns the data of all order status resources in the storage.
getOrderStatusById()  : array<string|int, mixed>
Returns the data of the expected order status entity by the given order status id.

Properties

Methods

__construct()

OrderStatusReader constructor.

public __construct(CI_DB_query_builder $queryBuilder) : mixed
Parameters
$queryBuilder : CI_DB_query_builder

Active record instance for data access.

Return values
mixed

getAllOrderStatus()

Alias of getAllOrderStatuses()

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

getAllOrderStatuses()

Returns the data of all order status resources in the storage.

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

Data of all order status entities.

getOrderStatusById()

Returns the data of the expected order status entity by the given order status id.

public getOrderStatusById(IntType $orderStatusId) : array<string|int, mixed>
Parameters
$orderStatusId : IntType

Id of expected order status entity

Return values
array<string|int, mixed>

Data of order status entity or empty array, if no data was found.

Search results