SystemLog extends Item
FinalYes
Table of Contents
Constants
- TYPE_ERROR = 3
- TYPE_NOTICE = 1
- TYPE_WARNING = 2
Methods
- deleteByEntity() : mixed
- getDataSourceClass() : mixed
- prepareData() : mixed
- rotate() : mixed
- Rotate log, remove records that are older than month ago
Constants
TYPE_ERROR
public
mixed
TYPE_ERROR
= 3
TYPE_NOTICE
public
mixed
TYPE_NOTICE
= 1
TYPE_WARNING
public
mixed
TYPE_WARNING
= 2
Methods
deleteByEntity()
public
static deleteByEntity(mixed $entityId, mixed $entityType) : mixed
Parameters
- $entityId : mixed
- $entityType : mixed
getDataSourceClass()
public
static getDataSourceClass() : mixed
prepareData()
public
prepareData(mixed $result) : mixed
Parameters
- $result : mixed
rotate()
Rotate log, remove records that are older than month ago
public
static rotate() : mixed