Class Zend_Log_Filter_Priority

Description

Implements interfaces:

  • version: $Id: Priority.php 4474 2007-04-11 19:56:57Z mike $
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Log/Filter/Priority.php (line 34)


	
			
Variable Summary
 string $_operator
 integer $_priority
Method Summary
 Zend_Log_Filter_Priority __construct (integer $priority, [string $operator = '<='])
 boolean accept (array $event)
Variables
string $_operator (line 44)
  • access: protected
integer $_priority (line 39)
  • access: protected
Methods
Constructor __construct (line 54)

Filter logging by $priority. By default, it will accept any log event whose priority value is less than or equal to $priority.

  • throws: Zend_Log_Exception
  • access: public
Zend_Log_Filter_Priority __construct (integer $priority, [string $operator = '<='])
  • integer $priority: Priority
  • string $operator: Comparison operator
accept (line 70)

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

  • return: accepted?
  • access: public
boolean accept (array $event)
  • array $event: event data

Implementation of:
Zend_Log_Filter_Interface::accept()
Returns TRUE to accept the message, FALSE to block it.

Documentation generated on Sun, 27 May 2007 23:26:50 -0700 by phpDocumentor 1.3.2