simple()
simple(array $request, string $table, string $primaryKey, array $columns, $dsphinXArrayParam = NULL) : array
Perform the SQL queries needed for an server-side processing requested,
utilising the helper functions of this class, limit(), order() and
filter() among others. The returned array is ready to be encoded as JSON
in response to an SSP request, or can be modified if needed before
sending back to the client.
Parameters
array |
$request |
Data sent to server by DataTables |
string |
$table |
SQL table to query |
string |
$primaryKey |
Primary key of the table |
array |
$columns |
Column information array |
|
$dsphinXArrayParam |
|
Returns
array
— Server-side processing response array