API Documentation

Log/Filter/Suppress.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Log
subpackage
Filter
version
$Id: Suppress.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Log_Filter_Suppress

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Log_Filter_Suppress

Extends from
Zend_Log_Filter_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Log
subpackage
Filter
version
$Id: Suppress.php 20096 2010-01-06 02:05:09Z bkarwin $
Properties
$_accept
Methods
suppress
accept
factory

Description

Properties

$_accept

boolean $_accept = 'true'

Details

$_accept
boolean
visibility
protected
default
true
final
false
static
false

Methods

accept

accept( array $event ) : boolean

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

Arguments
$event
array
event data
Output
boolean
accepted?
Details
visibility
public
final
false
static
false

factory

factory( array|Zend_Config $config ) : Zend_Log_Filter_Suppress

Create a new instance of Zend_Log_Filter_Suppress

Arguments
$config
arrayZend_Config
Details
visibility
public
final
false
static
true
throws

suppress

suppress( boolean $suppress ) : void

This is a simple boolean filter.

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

Arguments
$suppress
boolean
Should all log events be suppressed?
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.