Source for file Constants.php

Documentation is available at Constants.php

  1. <?php
  2.  
  3. /**
  4. * MVCnPHP - Constants.php
  5. *
  6. * This source file is subject to version 2.02 of the PHP license,
  7. * that is bundled with this package in the file LICENSE, and is
  8. * available at through the world-wide-web at
  9. * http://www.php.net/license/2_02.txt.
  10. * If you did not receive a copy of the PHP license and are unable to
  11. * obtain it through the world-wide-web, please send a note to
  12. * license@php.net so we can mail you a copy immediately.
  13. *
  14. * @author Tony Bibbs <tony@geeklog.net>
  15. * @copyright Tony Bibbs 2003-2005
  16. * @package net.geeklog.mvc
  17. * @version $Id: Constants.php,v 1.3 2003/08/28 01:31:22 tony Exp $
  18. *
  19. */
  20.  
  21. // MVC configuration types
  22. define('MVC_XML', 'XMLLoader');
  23. define('MVC_ARRAY', 'ArrayLoader');
  24.  
  25. // FORM attributes
  26. define('MVC_POST', 1);
  27. define('MVC_GET', 2);
  28. define('MVC_BOTH', 0);
  29.  
  30. // Security constants
  31. define('MVC_TRUSTED', 1);
  32. define('MVC_UNTRUSTED', 0);
  33.  
  34. // General configuration settings
  35. define('MVC_BASE_URL', 'baseurl');
  36. define('MVC_BASE', 'dirbase');
  37. define('MVC_DIRS', 'dirs');
  38.  
  39. // Mapping constants
  40. define('MVC_VIEWS', 'views');
  41. define('MVC_COMMANDS', 'commands');
  42. define('MVC_FORWARDS', 'forwards');
  43. define('MVC_NAME', 'name');
  44. define('MVC_SECURE', 'secure');
  45. define('MVC_DEFAULT', 'default');
  46. define('MVC_TARGET', 'target');
  47. define('MVC_TYPE', 'type');
  48. define('MVC_MESSAGES', 'mvc_messages');
  49. define('MVC_ERRORS', 'mvc_errors');
  50. define('MVC_PRINT', 1);
  51. define('MVC_STRING', 2);
  52.  
  53. ?>

Documentation generated on Mon, 7 Mar 2005 22:36:20 -0600 by phpDocumentor 1.3.0RC3