PHP Class Backend\Core\Engine\DataGridDB

Inheritance: extends DataGrid
Mostra file Open project: forkcms/forkcms Class Usage Examples

Public Methods

Method Description
__construct ( string $query, array $parameters = [], string $resultsQuery = null, array $resultsParameters = [] )

Method Details

__construct() public method

public __construct ( string $query, array $parameters = [], string $resultsQuery = null, array $resultsParameters = [] )
$query string The query to retrieve the data.
$parameters array The parameters to be used inside the query.
$resultsQuery string The optional count query, used to calculate the number of results.
$resultsParameters array The parameters to be used inside the results query.