cakephp2-php8/lib/Cake/Test/test_app/Plugin/TestPlugin/Controller/TestPluginController.php
2011-05-30 22:02:32 +02:00

29 lines
936 B
PHP

<?php
/**
* TestPluginController used by Dispatcher test to test plugin shortcut urls.
*
* PHP 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice
*
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
* @package cake.tests.test_app.plugins.test_plugin.views.helpers
* @since CakePHP(tm) v 1.3
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
class TestPluginController extends TestPluginAppController {
public $uses = array();
public function index() {
$this->autoRender = false;
}
public function add() {
$this->autoRender = false;
}
}