当前位置: 首页>>代码示例>>PHP>>正文


PHP XString::htmlspecialchars_decode方法代码示例

本文整理汇总了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);
     }
 }
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:8,代码来源:nfsauditcontroller.php

示例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;
 }/*}}}*/
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:36,代码来源:databucket.php

示例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>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:left_thread.php

示例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);
 }/*}}}*/
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:36,代码来源:flowrefdatabucket.php


注:本文中的XString::htmlspecialchars_decode方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。