當前位置: 首頁>>代碼示例>>PHP>>正文


PHP XString::generateFakePhoneno方法代碼示例

本文整理匯總了PHP中XString::generateFakePhoneno方法的典型用法代碼示例。如果您正苦於以下問題:PHP XString::generateFakePhoneno方法的具體用法?PHP XString::generateFakePhoneno怎麽用?PHP XString::generateFakePhoneno使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在XString的用法示例。


在下文中一共展示了XString::generateFakePhoneno方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

.htm"><?php 
echo $spaceBusinessRequirement->space->host->hospitalfaculty->name;
?>
</a>&nbsp;&nbsp;&nbsp;&nbsp;    
				          級別:<?php 
echo $spaceBusinessRequirement->space->host->adminLevel;
?>
級大夫</td>
			    </tr>
			  	<tr>
                    <td colspan="5">
<?php 
if (true == $isCallPanelLinkShown) {
    ?>
                    電話:<?php 
    echo XString::generateFakePhoneno($spaceBusinessRequirement->space->user->mobile);
    ?>
 | <a target="_blank" href="<?php 
    echo $callPanelLink;
    ?>
">點擊進入呼叫醫生界麵</a>
                    &nbsp;&nbsp;&nbsp;&nbsp;
<?php 
}
?>

				           郵箱:<?php 
echo $spaceBusinessRequirement->space->user->email;
?>
				    &nbsp;</td>
			  	</tr>
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:31,代碼來源:showdoctordetaillist.php

示例2:

        $doctorName = $user->space->host->name;
    }
    if (false == $user->space->host->hospitalfaculty->isNull()) {
        $hospitalFacultyName = $user->space->host->hospitalfaculty->name;
    }
    if (false == $user->space->host->hospitalfaculty->hospital->isNull()) {
        $hospitalName = $user->space->host->hospitalfaculty->hospital->commonName;
    }
    ?>
	<tr>
        <td width="10%">
<?php 
    if ($user->space->host->isNull()) {
        echo '找不到醫生信息' . "({$sendlog->mobile})";
    } else {
        $mobile = XString::generateFakePhoneno($sendlog->mobile);
        echo "{$hospitalName} {$hospitalFacultyName} {$doctorName}" . '<br />' . "({})";
    }
    ?>
 
        </td>
        <td width="45%"><?php 
    echo $sendlog->content;
    ?>
</td>
        <td width="10%"><?php 
    echo $sendlog->ctime;
    ?>
</td>
        <td width="10%"><?php 
    echo $replylog->content;
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:31,代碼來源:sendreplylist.php

示例3: showOrderDetail

 public function showOrderDetail($request, $response)
 {
     /*{{{*/
     $response->showContent = true;
     $orderId = $request->orderId;
     DBC::requireNotEmptyString($orderId, '無效的訂單ID');
     $response->doctortype = $request->doctortype;
     $order = DAL::get()->mustFind('BookingOrder', $orderId, true);
     $space = $order->space;
     $taskList = DAL::get()->find_all_by_objectid_and_objecttype('BookingTask', $orderId, 'bookingorder');
     //約滿
     $seatLimits = BookingClient::getInstance()->getseatLimitCount($order->space, date('Y-m-d', strtotime("+ 0 day")), date('Y-m-d', strtotime("+ 17 day")));
     //停診
     $stopDiagnose = DAL::get()->find_all_by_spaceid('StopDiagnose', $order->space->id);
     $doctorOrderTotal = BookingClient::getInstance()->countDoctorOrder('BookingOrder', $order->space->id);
     $proposalIds = DAL::get()->querySpacePatientProposals('proposal', $order->space, array(), $order->patient->id);
     $proposals = DAL::get()->find('proposal', $proposalIds);
     $doctorPatientRef = new NullEntity();
     if (empty($proposalIds)) {
         $doctorPatientRef = DAL::get()->find_by_spaceid_and_patientid('doctorpatientref', $order->space->id, $order->patient->id);
     }
     $response->doctorPatientRef = $doctorPatientRef;
     $response->order = $order;
     $response->taskList = $taskList;
     $response->patientOrderTotal = BookingClient::getInstance()->countPatientOrder('BookingOrder', $order->user->id);
     $response->doctorOrderTotal = $doctorOrderTotal;
     $response->seatLimits = $seatLimits;
     $response->stopDiagnose = $stopDiagnose;
     //$bingLis4Schedule = BingLiDtoClient::getInstance()->getBingLiByRelatedObj($order->notification->proposal)->schedule;
     //$response->bingLiSchedule = $bingLis4Schedule[0]->schedule;
     //$response->bingLiAddress = BingLiDtoClient::getInstance()->getBingLiByRelatedObj($order->notification->proposal)->address;
     $response->space = $space;
     $response->doctorMobileEncoded = XString::encodeMobileNo($space->user->mobile);
     $response->doctorMobileFaked = XString::generateFakePhoneno($space->user->mobile);
     $response->cardOrderTotal = BookingClient::getInstance()->countCardOrder($order->patient->idcard);
     $response->mobileOrderTotal = BookingClient::getInstance()->countMobileOrder($order->patient->mobile);
     $response->patientDefaulted = BookingClient::getInstance()->countPatientDefaulted('BookingBlackList', $order->user->id, $order->patient->idcard, $order->user->mobile, $order->patient->mobile);
     $response->proposals = $proposals;
     $response->scheduleList = $this->getSchedule($order->space);
     $isMobileCallable = XString::isMobile($space->user->mobile);
     $isFixedLineCallable = XString::findPhoneNO($space->user->phone) != false;
     $response->isCallPanelLinkShown = $isMobileCallable || $isFixedLineCallable;
     $response->spaceBusinessRequirement = $space->getSpaceBusinessRequirement4Booking();
 }
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:44,代碼來源:bookingcontroller.php

示例4: foreach

        <th class="title" width="15%">發送時間</th> 
        <th class="title" width="60%">發送內容</th>
        <th class="title" width="5%">ext</th>
        <th class="title" width="5%">狀態</th>
    </tr>
    
<?php 
if (empty($logList) == false) {
    foreach ($logList as $log) {
        ?>
    <tr> 
    <td><?php 
        if ($type == 'receive') {
            echo $log->mobile;
        } else {
            echo XString::generateFakePhoneno($log->mobile);
        }
        ?>
</td>
        <td><?php 
        echo $log->ctime;
        ?>
</td>
        <td><?php 
        echo $log->content;
        ?>
</td>
        <td><?php 
        echo $log->ext;
        ?>
</td>
開發者ID:sdgdsffdsfff,項目名稱:hdf-client,代碼行數:31,代碼來源:smsloglist.php


注:本文中的XString::generateFakePhoneno方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。