本文整理汇总了PHP中XString::htmlspecialchars_decode方法的典型用法代码示例。如果您正苦于以下问题:PHP XString::htmlspecialchars_decode方法的具体用法?PHP XString::htmlspecialchars_decode怎么用?PHP XString::htmlspecialchars_decode使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类XString
的用法示例。
在下文中一共展示了XString::htmlspecialchars_decode方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: sendMsg4SrcQRcode
private function sendMsg4SrcQRcode($patientSignin, $mailContent)
{
$subject = "很抱歉,您的报到未通过审核!";
$mailContent = XString::htmlspecialchars_decode($mailContent);
if (trim($mailContent) != "") {
StationLetterClient::getInstance()->sendMsg(Auditor::ADMIN_USER_ID, array($patientSignin->user->id), $subject, $mailContent);
}
}
示例2: getFinishedBookingOrderList
public function getFinishedBookingOrderList($pageId, $pageSize)
{/*{{{*/
$this->_initPageInfo($pageId, $pageSize);
$bookingContractId = 0;
$wapget = 1;
$out = PlussignChannelClient::getInstance()->getBookingOrders($bookingContractId, $pageId, $pageSize, $wapget);
$orders = $out['bookingOrder'];
$pageInfo = $out['pageInfo'];
$infos = array();
$bookingCnts = $this->_getBookingCounts($orders);
foreach($orders as $order)
{
$info = array();
$info['orderId'] = $order->id;
$helper = BingLiDtoHelper::create($order->getBingLiSource());
$info['disease'] = $helper->getDiseasesStr();
$info['description'] = XString::htmlspecialchars_decode($helper->getLastConditionDesc());
$info['ctime'] = substr($order->ctime, 0, 16);
$info['bookingTime'] = substr($order->schedule, 0, 16);
$info['orderStatusMsg'] = $order->getOrderStatusMsg();
$info['statusTime'] = substr($order->schedule, 0, 16);
foreach($bookingCnts as $bookingCnt)
{
if($bookingCnt['spaceid'] == $order->space->id)
{
$info['finishBookingCnt'] = $bookingCnt['cnt'];
}
}
$space = $order->space;
$doctorInfo = $this->_getDoctorInfo($space);
$info = array_merge($info,$doctorInfo);
$infos[] = $info;
}
$this->pageInfo = $pageInfo;
$this->content = $infos;
}/*}}}*/
示例3: implode
echo implode(',', $attachmentIds);
?>
", "<?php
echo $space->id;
?>
");</script>
<?php
}
?>
<?php
if ($proposal->hasAdminComment()) {
?>
<img src="http://i1.hdfimg.com/space/images/iconwarning.gif" align="absmiddle">
好大夫在线友情提示:<br />
<?php
echo XString::htmlspecialchars_decode($proposal->adminComment);
?>
<?php
}
?>
</div>
<div class="hz_advise_bottom"></div>
<p class="pt20 pb5 gray3">发表于 <?php
echo $proposal->ctime;
?>
</p>
</div>
</div>
</div>
示例4: getCase4FlowStatus
private function getCase4FlowStatus($spaceId, $patientId, $case)
{/*{{{*/
$info['id'] = $case->id;
$info['type'] = 'flow';
$info['isPrivate'] = $case->isPrivated;
$info['remainedReplyCount4Space'] = $case->getSpaceLeftAllowCnt();
if($case->isFreeSpaceReply())
{
$info['remainedReplyCount4Space'] = -1;
}
else
{
$info['remainedReplyCount4Space'] = $case->getSpaceLeftAllowCnt();
}
$info['openStatus'] = $case->isClosePost() ? 0 : 1;
$info['canDoctorReply'] = 0;
$info['isValid'] = 0;
$info['title'] = XString::htmlspecialchars_decode($case->title);
$isRead = $case->isSpaceRead;
$info['isRead'] = $isRead ? 1 : 0;
$info['lastPostTime'] = $case->lastPostTime;
$info['isAddSpaceReplyCount'] = (false == $case->isSpaceCanPost() && false == $case->isClosePost()) ? 1 : 0;
$info2 = $this->_getCaseUserInfo($case);
$info = array_merge($info, $info2);
$posts = FlowClient::getInstance()->getAllFlowInfos($spaceId, $patientId);
if (false == $case->isClosed() && count($posts) > 0 && $case->spaceid == $spaceId)
{
$info['isValid'] = 1;
}
if ($case->canPatientReply() && false == $case->isClosePost())
{
$info['canDoctorReply'] = 1;
}
$info3 = $case->getSuiFangUrl4Moblie();
return array_merge($info, $info3);
}/*}}}*/