CMS  Version 3.9
error_log.inc File Reference

Go to the source code of this file.

Variables

 $menu_item = "Error Log"
 
 $title = "Error Log"
 
 $err = new ErrorLog()
 
$err filter = new InclusionFilter("timestamp")
 
 $filterForm = new FilterForm($err)
 
 $range = new DateRangeFilterRenderer($filterForm, "timestamp", "timestamp")
 
 $errors = Query::create(ErrorLog, $filterForm->getConstraint()." ORDER BY timestamp DESC")->execute()
 
 $table = new DataListView($errors, "error_log")
 
$table sortable = true
 
$table pageSize = 20
 
$table excelFile = "error_log"
 
$table emptyMessage = "No Errors have been logged yet."
 
 $script = $table->writeScript()
 

Variable Documentation

◆ $err

$err = new ErrorLog()

Definition at line 9 of file error_log.inc.

◆ $errors

$errors = Query::create(ErrorLog, $filterForm->getConstraint()." ORDER BY timestamp DESC")->execute()

Definition at line 15 of file error_log.inc.

◆ $filterForm

$filterForm = new FilterForm($err)

Definition at line 12 of file error_log.inc.

◆ $menu_item

$menu_item = "Error Log"

Definition at line 5 of file error_log.inc.

◆ $range

$range = new DateRangeFilterRenderer($filterForm, "timestamp", "timestamp")

Definition at line 13 of file error_log.inc.

◆ $script

$script = $table->writeScript()

Definition at line 31 of file error_log.inc.

◆ $table

$table = new DataListView($errors, "error_log")

Definition at line 19 of file error_log.inc.

◆ $title

$title = "Error Log"

Definition at line 7 of file error_log.inc.

◆ emptyMessage

$table emptyMessage = "No Errors have been logged yet."

Definition at line 29 of file error_log.inc.

◆ excelFile

$table excelFile = "error_log"

Definition at line 28 of file error_log.inc.

◆ filter

$table filter = new InclusionFilter("timestamp")

Definition at line 10 of file error_log.inc.

◆ pageSize

$table pageSize = 20

Definition at line 27 of file error_log.inc.

◆ sortable

$table sortable = true

Definition at line 26 of file error_log.inc.