PMA\libraries\Message::rawNotice PHP Method

rawNotice() public static method

shorthand for getting a customized notice message
public static rawNotice ( string $message ) : Message
$message string A localized string
return Message
    public static function rawNotice($message)
    {
        return Message::raw($message, Message::NOTICE);
    }

Usage Example

コード例 #1
0
ファイル: Message.php プロジェクト: phpmyadmin/phpmyadmin
 /**
  * add another html message to be concatenated on displaying
  *
  * @param string $message   to be added
  * @param string $separator to use between this and previous string/message
  *
  * @return void
  */
 public function addHtml($message, $separator = ' ')
 {
     if (!is_string($message)) {
         trigger_error('Invalid parameter passed to addMessage');
     }
     $this->_addMessage(Message::rawNotice($message), $separator);
 }
All Usage Examples Of PMA\libraries\Message::rawNotice