event()}\" class=\"layui-btn layui-btn-xs\">{:lang('edit')}"; JsFacade::loadTemplate($this->event(), $code, $this->js(), $template); } /** * @return string */ private function js() { return <<event()}")}?id=' + obj.data[primary], '{:lang("edit")}{\$page_name ?: ""}'); JS; } }