Public Member Functions | Static Public Member Functions | Public Attributes

Robo47_Log_Filter_Mock Class Reference

List of all members.

Public Member Functions

 __construct ($accept=true)
 accept ($event)
 Accept.
 getOptions ()
 Get Options.

Static Public Member Functions

static factory ($config)
 Construct a Zend_Log driver.

Public Attributes

 $accept = true
 $constructorParams = array()
 $events = array()
 $lastEvent = null

Detailed Description

Definition at line 31 of file Mock.php.


Constructor & Destructor Documentation

Robo47_Log_Filter_Mock::__construct ( accept = true  ) 
Parameters:
bool $accept

Definition at line 56 of file Mock.php.

References $accept, and accept().

    {
        $this->accept = $accept;
        $this->constructorParams = func_get_args();
    }

Here is the call graph for this function:


Member Function Documentation

Robo47_Log_Filter_Mock::accept ( event  ) 

Accept.

Returns:
boolean

Definition at line 77 of file Mock.php.

Referenced by __construct().

    {
        $this->lastEvent = $event;
        $this->events[] = $event;
        return $this->accept;
    }

Here is the caller graph for this function:

static Robo47_Log_Filter_Mock::factory ( config  )  [static]

Construct a Zend_Log driver.

Parameters:
array|Zend_Config $config
Returns:
Robo47_Log_Filter_Mock

Definition at line 90 of file Mock.php.

    {
        return new Robo47_Log_Filter_Mock($config);
    }

Robo47_Log_Filter_Mock::getOptions (  ) 

Get Options.

Returns:
array

Definition at line 67 of file Mock.php.

    {
        return array();
    }


Member Data Documentation

Robo47_Log_Filter_Mock::$accept = true

Definition at line 37 of file Mock.php.

Referenced by __construct().

Robo47_Log_Filter_Mock::$constructorParams = array()

Definition at line 50 of file Mock.php.

Robo47_Log_Filter_Mock::$events = array()

Definition at line 46 of file Mock.php.

Robo47_Log_Filter_Mock::$lastEvent = null

Definition at line 41 of file Mock.php.


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