Perforce Chronicle 2012.2/486814
API Documentation

Error_Module Class Reference

Register the error module as the error handler. More...

Inheritance diagram for Error_Module:
P4Cms_Module_Integration

List of all members.

Static Public Member Functions

static load ()
 Reconfigure the error handler plugin.

Detailed Description

Register the error module as the error handler.

Copyright:
2011-2012 Perforce Software. All rights reserved
License:
Please see LICENSE.txt in top-level folder of this distribution.
Version:
2012.2/486814

Member Function Documentation

static Error_Module::load ( ) [static]

Reconfigure the error handler plugin.

Reimplemented from P4Cms_Module_Integration.

    {
        $front = Zend_Controller_Front::getInstance();
        $front->registerPlugin(
            new Zend_Controller_Plugin_ErrorHandler(
                array(
                    'module'     => 'error',
                    'controller' => 'index',
                    'action'     => 'error',
                )
            ),
            100
        );
    }

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