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