Public Member Functions | Protected Member Functions

Zend_Log_Writer_Db Class Reference

Inheritance diagram for Zend_Log_Writer_Db:
Zend_Log_Writer_Abstract

Public Member Functions

 __construct ($db, $table, $columnMap=null)
 setFormatter ($formatter)
 shutdown ()

Protected Member Functions

 _write ($event)

Detailed Description

Definition at line 34 of file Db.php.


Constructor & Destructor Documentation

__construct ( db,
table,
columnMap = null 
)

Class constructor

Parameters:
Zend_Db_Adapter$dbDatabase adapter instance
string$tableLog table in database
array$columnMap

Definition at line 62 of file Db.php.


Member Function Documentation

_write ( event ) [protected]

Write a message to the log.

Parameters:
array$eventevent data
Returns:
void

Reimplemented from Zend_Log_Writer_Abstract.

Definition at line 94 of file Db.php.

setFormatter ( formatter )

Formatting is not possible on this writer

Reimplemented from Zend_Log_Writer_Abstract.

Definition at line 72 of file Db.php.

shutdown (  )

Remove reference to database adapter

Returns:
void

Reimplemented from Zend_Log_Writer_Abstract.

Definition at line 83 of file Db.php.


The documentation for this class was generated from the following file: