PMA\libraries\Message::getMessageWithIcon PHP Метод

getMessageWithIcon() публичный Метод

Returns the message with corresponding image icon
public getMessageWithIcon ( string $message ) : string
$message string the message(s)
Результат string message with icon
    public function getMessageWithIcon($message)
    {
        if ('error' == $this->getLevel()) {
            $image = 's_error.png';
        } elseif ('success' == $this->getLevel()) {
            $image = 's_success.png';
        } else {
            $image = 's_notice.png';
        }
        $message = Message::notice(Util::getImage($image)) . " " . $message;
        return $message;
    }