Public Member Functions | Protected Attributes

Zend_Log_Filter_Suppress Class Reference

Inheritance diagram for Zend_Log_Filter_Suppress:
Zend_Log_Filter_Interface

Public Member Functions

 suppress ($suppress)
 accept ($event)

Protected Attributes

 $_accept = true

Detailed Description

Definition at line 34 of file Suppress.php.


Member Function Documentation

accept ( event )

Returns TRUE to accept the message, FALSE to block it.

Parameters:
array$eventevent data
Returns:
boolean accepted?

Implements Zend_Log_Filter_Interface.

Definition at line 61 of file Suppress.php.

suppress ( suppress )

This is a simple boolean filter.

Call suppress(true) to suppress all log events. Call suppress(false) to accept all log events.

Parameters:
boolean$suppressShould all log events be suppressed?
Returns:
void

Definition at line 50 of file Suppress.php.


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