Files
VestaCP/web/vesta/core/utils/Message.class.php

27 lines
693 B
PHP
Raw Normal View History

2011-06-14 00:22:25 +03:00
<?php
/**
* Messages container
*
* Contains messages, that are used in the code.
*
2011-06-14 00:22:25 +03:00
* @author vesta, http://vestacp.com/
* @author Dmitry Malishev <dima.malishev@gmail.com>
* @copyright vesta 2010-2011
2011-06-14 00:22:25 +03:00
*/
class Message
{
2011-06-21 13:32:26 +03:00
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';
2011-06-14 00:22:25 +03:00
}
?>