<?php
/********************************************************************************
 * (c)1337 aheadware.com - All rights reserved
 ********************************************************************************/

/**
 * Class TB_Server_Utils_Notification
 */
class TB_Server_Utils_Notification {

    // Notification types
    const TYPE_DEFAULT = 0;
    const TYPE_SUCCESS = 1;
    const TYPE_INFO = 2;
    const TYPE_WARNING = 3;
    const TYPE_DANGER = 4;

    public $msg = NULL;
    public $type = self::TYPE_DEFAULT;

    public function __construct( $msg, $type = self::TYPE_DEFAULT ) {
        $this->msg = '' . $msg;
        $this->type = $type;
    }
}