tests_controller.php 984 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Short description for file.
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
  8. * Copyright 2005-2010, 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 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
  15. * @package cake.tests.test_app.plugins.test_plugin.views.helpers
  16. * @since CakePHP(tm) v 1.2.0.4206
  17. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  18. */
  19. class TestsController extends TestPluginAppController {
  20. public $name = 'Tests';
  21. public $uses = array();
  22. public $helpers = array('TestPlugin.OtherHelper', 'Html');
  23. public $components = array('TestPlugin.PluginsComponent');
  24. function index() {
  25. }
  26. function some_method() {
  27. return 25;
  28. }
  29. }