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; }
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; }
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; }