\PluginFusioninventoryPrinterLog

Manage the printer changes (history).

Summary

Methods
Properties
Constants
getSearchOptions()
countAllEntries()
getEntries()
stats()
showForm()
showGraph()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getSearchOptions()

getSearchOptions() : array

Get search function for the class

Returns

array

countAllEntries()

countAllEntries(integer  $printers_id) : integer

Count number entries for the printer

Parameters

integer $printers_id

Returns

integer

getEntries()

getEntries(integer  $printers_id, integer  $begin, integer  $limit) : array|false

Get logs of printer

Parameters

integer $printers_id
integer $begin
integer $limit

Returns

array|false

stats()

stats(integer  $printers_id) : array|false

Get printed pages statistics

Parameters

integer $printers_id

Returns

array|false

showForm()

showForm(integer  $printers_id, array  $options = array()) : boolean

Display form

Parameters

integer $printers_id
array $options

Returns

boolean

showGraph()

showGraph(integer  $id, array  $options = array()) 

Display printer graph form

Parameters

integer $id

the id of printer

array $options