Property | Type | Description | |
---|---|---|---|
$count | integer | ||
$data | array |
Method | Description | |
---|---|---|
__construct ( array $data_source ) | ||
applyFilterDateRange ( mixed $row, |
||
applyFilterMultiSelect ( mixed $row, |
Filter by multi select value | |
applyFilterRange ( mixed $row, |
||
filter ( array $filters ) : static | Filter data | |
filterOne ( array $condition ) : |
Filter data - get one row | |
getCount ( ) : integer | Get count of data | |
getData ( ) : array | Get the data | |
limit ( integer $offset, integer $limit ) : static | Apply limit and offset on data | |
sort ( |
Sort data |
Method | Description | |
---|---|---|
applyFilter ( mixed $row, |
Apply fitler and tell whether row passes conditions or not | |
applyFilterDate ( mixed $row, |
Apply fitler date and tell whether row value matches or not |
protected applyFilter ( mixed $row, |
||
$row | mixed | |
$filter | ||
return | mixed |
protected applyFilterDate ( mixed $row, |
||
$row | mixed | |
$filter | ||
return | mixed |
public applyFilterDateRange ( mixed $row, |
||
$row | mixed | |
$filter | ||
return | void |
public applyFilterMultiSelect ( mixed $row, |
||
$row | mixed | |
$filter | ||
return | void |
public applyFilterRange ( mixed $row, |
||
$row | mixed | |
$filter | ||
return | void |
public sort ( |
||
$sorting | ||
return | static |