~artur-barczynski/azsystem/trunk

« back to all changes in this revision

Viewing changes to lib/Cake/Test/test_app/Plugin/TestPlugin/Lib/Error/TestPluginExceptionRenderer.php

  • Committer: Artur Barczynski
  • Date: 2012-09-20 16:31:07 UTC
  • Revision ID: artur@arturkb.pl-20120920163107-oakeg1a4h9e6d37f
Init

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Exception Renderer
 
4
 *
 
5
 * Provides Exception rendering features.  Which allow exceptions to be rendered
 
6
 * as HTML pages.
 
7
 *
 
8
 * PHP 5
 
9
 *
 
10
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 
11
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 
12
 *
 
13
 * Licensed under The MIT License
 
14
 * Redistributions of files must retain the above copyright notice.
 
15
 *
 
16
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 
17
 * @link          http://cakephp.org CakePHP(tm) Project
 
18
 * @package       Cake.Test.test_app.Plugin.TestPlugin.Lib.Error
 
19
 * @since         CakePHP(tm) v 2.0
 
20
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 
21
 */
 
22
 
 
23
App::uses('ExceptionRenderer', 'Error');
 
24
 
 
25
class TestPluginExceptionRenderer extends ExceptionRenderer {
 
26
 
 
27
/**
 
28
 * Renders the response for the exception.
 
29
 *
 
30
 * @return void
 
31
 */
 
32
        public function render() {
 
33
                echo 'Rendered by test plugin';
 
34
        }
 
35
}