\midcom\grid\providerclient

Interface for provider clients

Summary

Methods
Constants
get_qb()
get_row()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

get_qb()

get_qb(string  $field = null, string  $direction = 'ASC', array  $search = array()) : \midcom_core_query

Get the query builder for the resultset

Parameters

string $field

Optional ordering field

string $direction

Optional ordering direction

array $search

Optional search filters

Returns

\midcom_core_query

QB or MC instance

get_row()

get_row(\midcom_core_dbaobject  $object) : array

Transfers a result object into a grid row

Parameters

\midcom_core_dbaobject $object

Returns

array —

The row item