Report loglive renderable class.
More...
Report loglive renderable class.
- Since
- Moodle 2.7
- Copyright
- 2014 onwards Ankit Agarwal ankit.nosp@m..agr.nosp@m.r@gma.nosp@m.il.c.nosp@m.om
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
report_loglive_renderable::__construct |
( |
|
$logreader = "" , |
|
|
|
$course = 0 , |
|
|
|
$url = "" , |
|
|
|
$date = 0 , |
|
|
|
$page = 0 , |
|
|
|
$perpage = 100 , |
|
|
|
$order = "timecreated DESC" |
|
) |
| |
Constructor.
- Parameters
-
string | $logreader | (optional)reader pluginname from which logs will be fetched. |
stdClass | int | $course | (optional) course record or id |
moodle_url | string | $url | (optional) page url. |
int | $date | date (optional) from which records will be fetched. |
int | $page | (optional) page number. |
int | $perpage | (optional) number of records to show per page. |
string | $order | (optional) sortorder of fetched records |
◆ get_readers()
report_loglive_renderable::get_readers |
( |
|
$nameonly = false | ) |
|
Get a list of enabled sql_reader objects/name.
- Parameters
-
bool | $nameonly | if true only reader names will be returned. |
- Return values
-
array | core\log\sql_reader object or name. |
◆ get_table()
report_loglive_renderable::get_table |
( |
|
$ajax = false | ) |
|
Setup table and return it.
- Parameters
-
- Return values
-
report_loglive_table_log|report_loglive_table_log_ajax | table object |
◆ setup_filters()
report_loglive_renderable::setup_filters |
( |
| ) |
|
|
protected |
Setup filters.
- Return values
-
The documentation for this class was generated from the following file: