Class Zend_Log_Writer_Db

Description
  • version: $Id: Db.php 4560 2007-04-20 08:01:32Z mike $
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Log/Writer/Db.php (line 34)

Zend_Log_Writer_Abstract
   |
   --Zend_Log_Writer_Db
Method Summary
 Zend_Log_Writer_Db __construct (Zend_Db_Adapter $db, string $table, [ $columnMap = null])
 void setFormatter ( $formatter)
 void shutdown ()
 void _write (array $event)
Variables
Methods
Constructor __construct (line 61)

Class constructor

  • access: public
Zend_Log_Writer_Db __construct (Zend_Db_Adapter $db, string $table, [ $columnMap = null])
  • Zend_Db_Adapter $db: Database adapter instance
  • string $table: Log table in database
  • $columnMap
setFormatter (line 71)

Formatting is not possible on this writer

  • access: public
void setFormatter ( $formatter)
  • $formatter

Redefinition of:
Zend_Log_Writer_Abstract::setFormatter()
Set a new formatter for this writer
shutdown (line 81)

Remove reference to database adapter

  • access: public
void shutdown ()

Redefinition of:
Zend_Log_Writer_Abstract::shutdown()
Perform shutdown activites such as closing open resources
_write (line 92)

Write a message to the log.

  • access: protected
void _write (array $event)
  • array $event: event data

Redefinition of:
Zend_Log_Writer_Abstract::_write()
Write a message to the log.

Inherited Methods

Inherited From Zend_Log_Writer_Abstract

 Zend_Log_Writer_Abstract::addFilter()
 Zend_Log_Writer_Abstract::setFormatter()
 Zend_Log_Writer_Abstract::shutdown()
 Zend_Log_Writer_Abstract::write()
 Zend_Log_Writer_Abstract::_write()

Documentation generated on Sun, 27 May 2007 23:22:18 -0700 by phpDocumentor 1.3.2