當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。