Documentation

IMP_Maillog_Log_Base
in package

AbstractYes

Abstract log entry.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Properties

$action  : string
$date  : string
$message  : string
$timestamp  : int
$_action  : string
Action.
$_timestamp  : int
Timestamp.

Methods

__construct()  : mixed
Constructor.
__get()  : mixed
__set()  : mixed
__tostring()  : mixed
addData()  : array<string|int, mixed>
Add entry specific data to the backend storage.
_getMessage()  : string
The log message.

Properties

$action read-only

public string $action

Action.

$date read-only

public string $date

Formatted date string.

$message read-only

public string $message

Log message.

$timestamp

public int $timestamp

Timestamp.

$_action

Action.

protected string $_action

$_timestamp

Timestamp.

protected int $_timestamp

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $params = array() ]) : mixed
Parameters
$params : array<string|int, mixed> = array()

Parameters.

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed

__set()

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

__tostring()

public __tostring() : mixed

addData()

Add entry specific data to the backend storage.

public addData() : array<string|int, mixed>
Return values
array<string|int, mixed>

An array of key -> value pairs to add.

_getMessage()

The log message.

protected abstract _getMessage() : string
Return values
string

Log message.


        
On this page

Search results