\SwitchHistory
Renders events which happens with some switch devices
Synopsis
class SwitchHistory
{
- // constants
- const URL_SWPROFILE = '?module=switches&edit=';
- const URL_ME = '?module=switchhistory';
- // members
- protected string $switchId = '';
- protected $weblogs = '';
- protected $messages = '';
- protected bool $ajaxFlag = false;
- protected bool $timeMachineFlag = false;
- // methods
- public void __construct()
- protected void setRenderType()
- protected void initMessages()
- protected void initWeblogs()
- protected void setSwitchId()
- protected string renderTimeMachineData()
- public string renderReport()
Constants
Name | Value |
---|---|
URL_SWPROFILE | '?module=switches&edit=' |
URL_ME | '?module=switchhistory' |
Members
protected
Methods
protected
- initMessages() — Inits system messages object instance for further usage
- initWeblogs() — Inits weblogs database model
- renderTimeMachineData() — Renders switch timemachine data
- setRenderType() — Sets current instance render type
- setSwitchId() — Sets required switchId to protected prop
public
- __construct() — Creates new report instance
- renderReport() — Renders report about all events which happens with some switch