示例#1
0
文件: spell.php 项目: Niknox/aowow
 public function notFound()
 {
     if ($this->mode != CACHE_TYPE_TOOLTIP) {
         return parent::notFound(Lang::game('spell'), Lang::spell('notFound'));
     }
     header('Content-type: application/x-javascript; charset=utf-8');
     echo $this->generateTooltip(true);
     exit;
 }
示例#2
0
文件: profile.php 项目: saqar/aowow
 public function notFound()
 {
     if ($this->mode != CACHE_TYPE_TOOLTIP) {
         return parent::notFound(Util::ucFirst(Lang::game('profile')), '[NNF]profile or char doesn\'t exist');
     }
     header('Content-type: application/x-javascript; charset=utf-8');
     echo $this->generateTooltip(true);
     exit;
 }
示例#3
0
 public function notFound($title = '', $msg = '')
 {
     if ($this->mode != CACHE_TYPE_TOOLTIP) {
         return parent::notFound($title ?: Lang::game('quest'), $msg ?: Lang::quest('notFound'));
     }
     header('Content-type: application/x-javascript; charset=utf-8');
     echo $this->generateTooltip(true);
     exit;
 }