| Current Path : /var/www/element/data/www/revenuestory.ru/bitrix/modules/main/lib/grid/ |
| Current File : /var/www/element/data/www/revenuestory.ru/bitrix/modules/main/lib/grid/messagetype.php |
<?
namespace Bitrix\Main\Grid;
/**
* Class MessageType. Types of grid message
* @package Bitrix\Main\Grid
*/
class MessageType
{
const MESSAGE = "MESSAGE";
const ERROR = "ERROR";
const WARNING = "WARNING";
const INFO = "INFO";
const SUCCESS = "SUCCESS";
/**
* Gets types list
* @return array
*/
public static function getList()
{
$reflection = new \ReflectionClass(__CLASS__);
return $reflection->getConstants();
}
}