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