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