raw() public static method

shorthand for getting a customized message
public static raw ( string $message, integer $type = Message::NOTICE ) : Message
$message string A localized string
$type integer A numeric representation of the type of message
return Message
コード例 #1
0
ファイル: Message.php プロジェクト: phpmyadmin/phpmyadmin
 /**
  * get Message of type success with custom content
  *
  * shorthand for getting a customized success message
  *
  * @param string $message A localized string
  *
  * @return Message
  * @static
  */
 public static function rawSuccess($message)
 {
     return Message::raw($message, Message::SUCCESS);
 }