Zend Framework
1.12
|
Public Member Functions | |
__construct ($db, $table, $columnMap=null) | |
Class constructor. | |
setFormatter (Zend_Log_Formatter_Interface $formatter) | |
Formatting is not possible on this writer. | |
shutdown () | |
Remove reference to database adapter. | |
![]() | |
addFilter ($filter) | |
Add a filter specific to this writer. | |
write ($event) | |
Log a message to this writer. | |
setFormatter (Zend_Log_Formatter_Interface $formatter) | |
Set a new formatter for this writer. | |
shutdown () | |
Perform shutdown activites such as closing open resources. | |
Static Public Member Functions | |
static | factory ($config) |
Create a new instance of Zend_Log_Writer_Db. | |
Protected Member Functions | |
_write ($event) | |
Write a message to the log. | |
![]() | |
_write ($event) | |
Write a message to the log. | |
Protected Attributes | |
$_db | |
$_table | |
$_columnMap | |
![]() | |
$_filters = array() | |
$_formatter | |
Additional Inherited Members | |
![]() | |
static | _parseConfig ($config) |
Validate and optionally convert the config to array. | |
__construct | ( | $db, | |
$table, | |||
$columnMap = null |
|||
) |
Class constructor.
Zend_Db_Adapter | $db | Database adapter instance |
string | $table | Log table in database |
array | $columnMap |
|
protected |
Write a message to the log.
array | $event | event data |
Zend_Log_Exception |
|
static |
Create a new instance of Zend_Log_Writer_Db.
array | Zend_Config | $config |
Implements Zend_Log_FactoryInterface.
setFormatter | ( | Zend_Log_Formatter_Interface | $formatter | ) |
shutdown | ( | ) |
Remove reference to database adapter.
|
protected |
|
protected |
|
protected |