OrderStatusReader

Implements \OrderStatusReaderInterface

Class OrderStatusReader

category

System

package

OrderStatus

subpackage

Repositories

Methods

OrderStatusReader constructor.

__construct(\CI_DB_query_builder $queryBuilder) 

Arguments

$queryBuilder

\CI_DB_query_builder

Active record instance for data access.

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

getAllOrderStatus() : array

Response

array

Data of all order status entities.

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

getOrderStatusById(\IntType $orderStatusId) : array

Arguments

$orderStatusId

\IntType

Id of expected order status entity

Response

array

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

Properties

queryBuilder

queryBuilder : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

table

table : string
var

Type(s)

string

id

id : string
var

Type(s)

string