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