Example #1
0
 /**
  * 显示提示信息操作
  *
  * 本方法支持URL的自动跳转,当显示时间有效期失效时则跳转到自定义网址,若跳转网址为空则函数不执行跳转功能,当自定义网址参数为-1时默认为:返回上一页。
  *
  * @access public
  *
  * @param string $message 所要显示的提示信息
  * @param string $gotoUrl 所要跳转的自定义网址
  * @param integer $limitTime 显示信息的有效期,注:(单位:秒) 默认为5秒
  *
  * @return string
  */
 public static function showMsg($message, $gotoUrl = null, $limitTime = 5)
 {
     return Response::showMsg($message, $gotoUrl, $limitTime);
 }