src/models/Logger.php
public function getTypeBadge()
    {
        switch ($this->type) {
            case self::TYPE_INFO:
                return '<span class="badge badge-info">info</span>';
            case self::TYPE_WARNING:
                return '<span class="badge badge-warning">Warning</span>';
            case self::TYPE_ERROR:
                return '<span class="badge badge-danger">Error</span>';
            case self::TYPE_SUCCESS:
                return '<span class="badge badge-success">success</span>';
        }
    }
public function getTypeBadge()
    {
        switch ($this->type) {
            case self::TYPE_INFO:
                return '<span class="badge badge-info">info</span>';
            case self::TYPE_WARNING:
                return '<span class="badge badge-warning">Warning</span>';
            case self::TYPE_ERROR:
                return '<span class="badge badge-danger">Error</span>';
            case self::TYPE_SUCCESS:
                return '<span class="badge badge-success">success</span>';
        }
    }
public function getTypeBadge ( ) { switch ( $ this -> type ) { case self :: TYPE_INFO : return '<span class="badge badge-info">info</span>' ; case self :: TYPE_WARNING : return '<span class="badge badge-warning">Warning</span>' ; case self :: TYPE_ERROR : return '<span class="badge badge-danger">Error</span>' ; case self :: TYPE_SUCCESS : return '<span class="badge badge-success">success</span>' ; } }
Get the html badge for a status type in order to display inside the admin module.

@return string Type value evaluated as a badge.
Get the html badge for a status type in order to display inside the admin module .