Public Member Functions | Protected Attributes

Robo47_Application_Resource_Plugin_ErrorHandler Class Reference

List of all members.

Public Member Functions

 _setupErrorHandler ($options)
 getErrorHandler ()
 init ()

Protected Attributes

 $_errorHandler = null

Detailed Description

Definition at line 33 of file ErrorHandler.php.


Member Function Documentation

Robo47_Application_Resource_Plugin_ErrorHandler::_setupErrorHandler ( options  ) 

Definition at line 47 of file ErrorHandler.php.

Referenced by init().

    {
        $errorHandler = new Zend_Controller_Plugin_ErrorHandler($options);

        if (isset($options['module'])) {
            $errorHandler->setErrorHandlerModule($options['module']);
        }

        if (isset($options['controller'])) {
            $errorHandler->setErrorHandlerController($options['controller']);
        }

        if (isset($options['action'])) {
            $errorHandler->setErrorHandlerAction($options['action']);
        }
        $fc = Zend_Controller_Front::getInstance();
        $fc->registerPlugin($errorHandler);

        return $errorHandler;
    }

Here is the caller graph for this function:

Robo47_Application_Resource_Plugin_ErrorHandler::getErrorHandler (  ) 
Returns:
Zend_Controller_Plugin_ErrorHandler

Definition at line 71 of file ErrorHandler.php.

    {
        return $this->_errorHandler;
    }

Robo47_Application_Resource_Plugin_ErrorHandler::init (  ) 

Definition at line 42 of file ErrorHandler.php.

References _setupErrorHandler().

    {
        $this->_errorHandler = $this->_setupErrorHandler($this->_options);
    }

Here is the call graph for this function:


Member Data Documentation

Robo47_Application_Resource_Plugin_ErrorHandler::$_errorHandler = null [protected]

Definition at line 40 of file ErrorHandler.php.


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