<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Admin\Concern; use ModStart\Admin\Layout\AdminDialogPage; use ModStart\Core\Util\CRUDUtil; trait HasAdminDetail { private function computeTitleDetail($EJXfL, $fKa0c) { $yP7h6 = $EJXfL ? $EJXfL . ' ' . L($fKa0c) : L($fKa0c); return isset($this->pageTitle) ? $this->pageTitle : $yP7h6; } public function show(AdminDialogPage $BcS7S) { $jDI3Z = $this->detail(); return $BcS7S->pageTitle($this->computeTitleDetail($jDI3Z->title(), 'Show'))->body($jDI3Z->show(CRUDUtil::id())); } }