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