| category |
Zend |
| package |
Zend_Log |
| subpackage |
Writer |
| copyright |
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
| license |
New BSD License |
| version |
$Id: Db.php 20096 2010-01-06 02:05:09Z bkarwin $ |
Methods
Class constructor
__construct(\Zend_Db_Adapter $db, string $table, array $columnMap)
Parameters
$db
\Zend_Db_AdapterDatabase adapter instance
$table
stringLog table in database
$columnMap
array
Add a filter specific to this writer.
addFilter(\Zend_Log_Filter_Interface $filter) : void
Inherited
| inherited_from |
\Zend_Log_Writer_Abstract::addFilter() |
Parameters
Remove reference to database adapter
shutdown() : void
Log a message to this writer.
write(array $event) : void
Inherited
| inherited_from |
\Zend_Log_Writer_Abstract::write() |
Parameters
$event
arraylog data event
Validate and optionally convert the config to array
_parseConfig(array | \Zend_Config $config) : array
Inherited
| inherited_from |
\Zend_Log_Writer_Abstract::_parseConfig() |
Parameters
Exceptions
Returns
array
Write a message to the log.
_write(array $event) : void
Properties
<p>of Zend_Log_Filter_Interface</p>
$_filters : array
Inherited
| inherited_from |
\Zend_Log_Writer_Abstract::$$_filters |
Relates database columns names to log data field keys.
$_columnMap : null | array
Database adapter instance
$_db : \Zend_Db_Adapter
Name of the log table in the database
$_table : string