Base for a static organization website

TestPanel.php 852B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Test Panel of test_app
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  8. * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  9. *
  10. * Licensed under The MIT License
  11. * Redistributions of files must retain the above copyright notice.
  12. *
  13. * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://cakephp.org CakePHP(tm) Project
  15. * @since DebugKit 0.1
  16. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  17. */
  18. App::uses('DebugPanel', 'DebugKit.Lib');
  19. /**
  20. * Class TestPanel
  21. *
  22. * @since DebugKit 0.1
  23. */
  24. class TestPanel extends DebugPanel {
  25. /**
  26. * Startup
  27. *
  28. * @param Controller $controller
  29. */
  30. public function startup(Controller $controller) {
  31. $controller->testPanel = true;
  32. }
  33. }