Public Member Functions

Robo47_Log_Writer_Abstract Class Reference

Inheritance diagram for Robo47_Log_Writer_Abstract:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 getFilters ()
 removeFilter ($class)

Detailed Description

Definition at line 31 of file Abstract.php.


Member Function Documentation

Robo47_Log_Writer_Abstract::getFilters (  ) 
Returns:
array

Definition at line 60 of file Abstract.php.

    {
        return $this->_filters;
    }

Robo47_Log_Writer_Abstract::removeFilter ( class  ) 
Parameters:
string|Robo47_Log_Filter_Interface $class
Returns:
Robo47_Log_Writer_Abstract *Provides Fluent Interface*

Definition at line 40 of file Abstract.php.

    {
        foreach ($this->_filters as $key => $filter) {
            if (is_string($class)) {
                if ($filter instanceof $class) {
                    unset($this->_filters[$key]);
                }
            } elseif (is_object($class)) {
                if ($filter === $class) {
                    unset($this->_filters[$key]);
                }
            }
        }
        return $this;
    }


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