Message.class.php 632 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Messages container
  4. *
  5. * Contains messages, that are used in the code.
  6. *
  7. * @author Malishev Dima <dima.malishev@gmail.com>
  8. * @author vesta, http://vestacp.com/
  9. * @copyright vesta 2010-2011
  10. */
  11. class Message
  12. {
  13. const ERROR = 'error';
  14. const REQUEST_INVALID = 'Malformed request';
  15. const REQUEST_IS_NOT_POST = 'Request is not POST';
  16. const GENERAL_ERROR = 'General protection fault';
  17. const METHOD_NOT_EXIST = 'Message not exist';
  18. const INVALID_METHOD = 'Method Invalid';
  19. const SYSTEM_ERROR = 'System Error';
  20. const PROTECTION_ERROR = 'Protection error';
  21. }
  22. ?>