<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Res\Core; use ModStart\Core\Dao\ModelUtil; use Module\MemberRate\Biz\AbstractMemberRateBiz; class ResMemberRateBiz extends AbstractMemberRateBiz { const NAME = 'res_asset'; public function name() { return self::NAME; } public function title() { return '资源'; } public function linkTitle($vfjVR) { goto ypvlY; YB32I: if (empty($lpVAI)) { return null; } goto EBKzt; ypvlY: $lpVAI = ModelUtil::get('res_asset', $vfjVR); goto YB32I; EBKzt: return '<a href="' . modstart_web_url('res/' . $lpVAI['hash']) . '" target="_blank">' . htmlspecialchars($lpVAI['title']) . '</a>'; goto cn3MD; cn3MD: } }