Lizmap Web Client Master

logsCtrl extends jController
in package

Lizmap administration : logs.

Tags
author

3liz

copyright

2012 3liz

see
http://3liz.com
license

Mozilla Public License : http://www.mozilla.org/MPL/

Table of Contents

Properties

$pluginParams  : mixed

Methods

counter()  : jResponseHtml
Display the logs counter.
detail()  : jResponseHtml
Display the detailed logs.
emptyCounter()  : jResponseRedirect
Empty the counter logs table.
emptyDetail()  : jResponseRedirect
Empty the detail logs table.
eraseError()  : jResponseRedirect
Erase the error log file.
export()  : jResponseBinary|jResponseRedirect
Export the detailed logs in CSV.
index()  : jResponseHtml
Display a summary of the logs.
logLinesDisplayTextArea()  : int
Compute the height of the text area to use by default.

Properties

$pluginParams

public mixed $pluginParams = array('*' => array('jacl2.right' => 'lizmap.admin.lizmap.log.view'), 'emptyCounter' => array('jacl2.right.and' => array('lizmap.admin.lizmap.log.view', 'lizmap.admin.lizmap.log.delete')), 'emptyDetail' => array('jacl2.right.and' => array('lizmap.admin.lizmap.log.view', 'lizmap.admin.lizmap.log.delete')), 'eraseError' => array('jacl2.right.and' => array('lizmap.admin.lizmap.log.view', 'lizmap.admin.lizmap.log.delete')))

Methods

counter()

Display the logs counter.

public counter() : jResponseHtml
Return values
jResponseHtml

detail()

Display the detailed logs.

public detail() : jResponseHtml
Return values
jResponseHtml

emptyCounter()

Empty the counter logs table.

public emptyCounter() : jResponseRedirect
Return values
jResponseRedirect

emptyDetail()

Empty the detail logs table.

public emptyDetail() : jResponseRedirect
Return values
jResponseRedirect

eraseError()

Erase the error log file.

public eraseError() : jResponseRedirect
Return values
jResponseRedirect

export()

Export the detailed logs in CSV.

public export() : jResponseBinary|jResponseRedirect
Return values
jResponseBinary|jResponseRedirect

index()

Display a summary of the logs.

public index() : jResponseHtml
Return values
jResponseHtml

logLinesDisplayTextArea()

Compute the height of the text area to use by default.

private logLinesDisplayTextArea(string $log) : int
Parameters
$log : string

the log content

Return values
int

the number of lines for the text area


        
On this page

Search results