logfileResult
in
Log file result object
Table of Contents
| $colsCallback | Cols callback function | callable |
|---|---|---|
| $rowCallback | Row callback function | callable |
| $items | Logfile items | array |
| $itemsCount | Item count | int |
| $size | Logfile size | int |
| $object | Return logfile content as object/ dataview | bool |
| __construct() | Constructor | mixed |
| fetchData() | Fetch log data | array |
| getItemsCount() | Fetch number of items | int |
| getSize() | Get logfile size | int |
| asObject() | Check if logfile content is to be displayed as data view | bool |
| colsCallback() | Return cal callback function | callable |
| rowCallback() | Return row callback function | callable |
Properties
$colsCallback
Cols callback function
private
callable
$colsCallback
$rowCallback
Row callback function
private
callable
$rowCallback
$items
Logfile items
private
array
$items
$itemsCount
Item count
private
int
$itemsCount
$size
Logfile size
private
int
$size
$object
Return logfile content as object/ dataview
private
bool
$object
Methods
__construct()
Constructor
public
__construct(
$items :
array
, $itemsCount :
int
, $size :
int
, $colsCallback :
callable
, $rowCallback :
callable
[, $object :
bool
= true ]
)
: mixed
Parameters
- $items : array
- $itemsCount : int
- $size : int
- $colsCallback : callable
- $rowCallback : callable
- $object : bool = true
Return values
mixedfetchData()
Fetch log data
public
fetchData(
)
: array
Return values
arraygetItemsCount()
Fetch number of items
public
getItemsCount(
)
: int
Return values
intgetSize()
Get logfile size
public
getSize(
)
: int
Return values
intasObject()
Check if logfile content is to be displayed as data view
public
asObject(
)
: bool
Return values
boolcolsCallback()
Return cal callback function
public
colsCallback(
)
: callable
Return values
callablerowCallback()
Return row callback function
public
rowCallback(
)
: callable