|
| trans ($column, $key, $value, $params=null) |
|
| exists ($key, $value, $params=null) |
|
| __construct ($controller, $config) |
|
| trans ($column, $key, $value, $params=null) |
| Translates a value using the dataset. More...
|
|
| exists ($key, $value, $params=null) |
| Check if a record exists in the dataset. More...
|
|
| search ($search, $order=null, $params=null, $offset=0, $limit=null) |
| Search for records in the dataset. More...
|
|
| totals ($search, $totals, $params=null) |
| Return the totals for selected columns. More...
|
|
| group ($search, $group, $column, $total, $limit=null, $params=null) |
| Return the grouped totals for a column. More...
|
|
| propertyExists ($property) |
| Check if a property exists (public or published). More...
|
|
| constants ($prefix=null) |
| Return all constants. More...
|
|
| get ($key) |
| Get one or more properties. More...
|
|
| set ($key, $value=null) |
| Set one or more properties. More...
|
|
| __get ($key) |
|
| __set ($key, $value) |
|
|
| $data = null |
|
| $search = [] |
| Custom search (key = column, value = callback function - params: the value for the column in the. More...
|
|
const | SEARCH_FROM = 'from' |
| Search for values larger than the reference value. More...
|
|
const | SEARCH_TO = 'to' |
| Search for values smaller than the reference value. More...
|
|
const | SEARCH_EXACT = 'exact' |
| Search for values identical to the reference value (this may also be an array with. More...
|
|
const | SEARCH_DATE = 'date' |
| Search for a single date (24 hours). More...
|
|
const | SEARCH_LIKE = 'like' |
| Search for values that match reference value with wildcard (? = 1 char, * = multiple chars). More...
|
|
const | SEARCH_RANGE = [self::SEARCH_FROM,self::SEARCH_TO] |
|
const | SEARCH_MULTI = 'multi' |
| Pseudo type to allow for multiple values. More...
|
|
| $order = [] |
| Basic/default order (same format as search function). More...
|
|
| $format = null |
| Format function to apply to each record (called with a single record by reference, and true as a. More...
|
|
const | HIDDEN = 0 |
| Property is hidden. More...
|
|
const | READABLE = 1 |
| Property is readable. More...
|
|
const | WRITEABLE = 2 |
| Property is writeable. More...
|
|
const | READWRITE = 3 |
| Property is readable and writeable. More...
|
|
|
| data ($params) |
|
| filter ($search, $params, $loose=false) |
|
| sort ($records, $order) |
|
| _search ($search, $order, $params, $offset, $limit) |
|
| _totals ($search, $totals, $params) |
|
| _group ($search, $group, $column, $total, $limit, $params) |
|
| _search ($search, $order, $params, $offset, $limit) |
|
| _totals ($search, $totals, $params) |
|
| _group ($search, $group, $column, $total, $limit, $params) |
|
| setId ($value) |
|
| getId () |
|
| publish ($property, $visibility=self::READABLE) |
| Publish a property (or hide it again). More...
|
|
| configure ($config) |
| Configure the object. More...
|
|
| _get ($key) |
| Default getter if no specific setter is defined, and the property is also not published (readable). More...
|
|
| _set ($key, $value) |
| Default setter if no specific setter is defined, and the property is also not published (writeable). More...
|
|
Definition at line 7 of file Record.php.
◆ _group()
_group |
( |
|
$search, |
|
|
|
$group, |
|
|
|
$column, |
|
|
|
$total, |
|
|
|
$limit, |
|
|
|
$params |
|
) |
| |
|
protected |
◆ _search()
_search |
( |
|
$search, |
|
|
|
$order, |
|
|
|
$params, |
|
|
|
$offset, |
|
|
|
$limit |
|
) |
| |
|
protected |
◆ _totals()
_totals |
( |
|
$search, |
|
|
|
$totals, |
|
|
|
$params |
|
) |
| |
|
protected |
◆ data()
◆ exists()
exists |
( |
|
$key, |
|
|
|
$value, |
|
|
|
$params = null |
|
) |
| |
◆ filter()
filter |
( |
|
$search, |
|
|
|
$params, |
|
|
|
$loose = false |
|
) |
| |
|
protected |
◆ sort()
sort |
( |
|
$records, |
|
|
|
$order |
|
) |
| |
|
protected |
◆ trans()
trans |
( |
|
$column, |
|
|
|
$key, |
|
|
|
$value, |
|
|
|
$params = null |
|
) |
| |
◆ $_cache
◆ $data
◆ $search
Custom search (key = column, value = callback function - params: the value for the column in the.
Definition at line 10 of file Record.php.
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Controller/Provider/Record.php