Class Horde_Log_Handler_Db

Description

Located in /Log/lib/Horde/Log/Handler/Db.php (line 25)

Horde_Log_Handler_Base
   |
   --Horde_Log_Handler_Db
Variable Summary
 array $_options
Method Summary
 Horde_Log_Handler_Db __construct (Horde_Db_Adapter $db, string $table)
 bool write (array $event)
Variables
array $_options = array('fieldMessage' => 'message',
'fieldLevel' => 'level')
(line 44)

Options to be set by setOption(). Sets the field names in the database table.

  • access: protected

Redefinition of:
Horde_Log_Handler_Base::$_options

Inherited Variables

Inherited from Horde_Log_Handler_Base

Horde_Log_Handler_Base::$_filters
Methods
Constructor __construct (line 53)

Class constructor

  • access: public
Horde_Log_Handler_Db __construct (Horde_Db_Adapter $db, string $table)
  • Horde_Db_Adapter $db: Database adapter instance
  • string $table: Log table in database
write (line 65)

Write a message to the log.

  • return: Always True
  • access: public
bool write (array $event)
  • array $event: Log event

Redefinition of:
Horde_Log_Handler_Base::write()
Buffer a message to be stored in the storage implemented by this handler.

Inherited Methods

Inherited From Horde_Log_Handler_Base

 Horde_Log_Handler_Base::addFilter()
 Horde_Log_Handler_Base::log()
 Horde_Log_Handler_Base::setOption()
 Horde_Log_Handler_Base::write()

Documentation generated on Sun, 30 Jan 2011 05:16:39 +0000 by phpDocumentor 1.4.3