| 1234567891011121314151617181920212223242526 |
- <?php
- /**
- * Messages container
- *
- * Contains messages, that are used in the code.
- *
- * @author Malishev Dima <dima.malishev@gmail.com>
- * @author vesta, http://vestacp.com/
- * @copyright vesta 2010-2011
- */
- class Message
- {
-
- const ERROR = 'error';
- const REQUEST_INVALID = 'Malformed request';
- const REQUEST_IS_NOT_POST = 'Request is not POST';
- const GENERAL_ERROR = 'General protection fault';
- const METHOD_NOT_EXIST = 'Message not exist';
- const INVALID_METHOD = 'Method Invalid';
- const SYSTEM_ERROR = 'System Error';
- const PROTECTION_ERROR = 'Protection error';
-
- }
- ?>
|