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