TestPluginController.php 974 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * TestPluginController used by Dispatcher test to test plugin shortcut URLs.
  4. *
  5. * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
  6. * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  7. *
  8. * Licensed under The MIT License
  9. * For full copyright and license information, please see the LICENSE.txt
  10. * Redistributions of files must retain the above copyright notice
  11. *
  12. * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  13. * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
  14. * @since 1.3.0
  15. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  16. */
  17. /**
  18. * Class TestPluginController
  19. */
  20. namespace TestPlugin\Controller;
  21. class TestPluginController extends TestPluginAppController {
  22. public function index() {
  23. $this->autoRender = false;
  24. }
  25. public function add() {
  26. $this->autoRender = false;
  27. }
  28. }