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


PHP Area::getProvKeyByName4PlussignChannel方法代码示例

本文整理汇总了PHP中Area::getProvKeyByName4PlussignChannel方法的典型用法代码示例。如果您正苦于以下问题:PHP Area::getProvKeyByName4PlussignChannel方法的具体用法?PHP Area::getProvKeyByName4PlussignChannel怎么用?PHP Area::getProvKeyByName4PlussignChannel使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Area的用法示例。


在下文中一共展示了Area::getProvKeyByName4PlussignChannel方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: formatHospitalFaculty

    private function formatHospitalFaculty($hospitalFacultyList)
    {/*{{{*/
        $hfArray = array();
        $b = 1;
        foreach($hospitalFacultyList as $hospitalFaculty)
        {
                $hfArray[$b]['hfInfo']['num'] = $b;
                $hfArray[$b]['hfInfo']['offcategory'] = $hospitalFaculty->faculty->parentName;
                $hfArray[$b]['hfInfo']['officename'] = $hospitalFaculty->name;
                $hfArray[$b]['hfInfo']['officesite'] = '';
                $hfArray[$b]['hfInfo']['officeintro'] =  empty($hospitalFaculty->intro) ? '' : trim(strip_tags(XString::truncate($hospitalFaculty->intro, 160)));
                $hfArray[$b]['hfInfo']['officetel'] = empty($hospitalFaculty->phone) ? '' : $hospitalFaculty->phone;
		        $openBookingCount = BookingClient::getInstance()->getOpenBookingDoctorCount($hospitalFaculty->hospital->id, $hospitalFaculty->faculty->name);
                if($openBookingCount > 0)
                {
                    $bookingUrl = "http://jiahao.haodf.com/".rawurlencode(Area::getProvKeyByName4PlussignChannel($hospitalFaculty->hospital->province))."/hospitalfaculty/".rawurlencode($hospitalFaculty->hospital->id)."/".rawurlencode($hospitalFaculty->faculty->id).".htm";
                }
                $hfArray[$b]['hfInfo']['officeorder'] = isset($bookingUrl) ? $bookingUrl : '';

                $offdiagscope = $this->getoffdiagscope($hospitalFaculty->id);
                $hfArray[$b]['hfInfo']['offdiagscope'] = $offdiagscope;
                $hfArray[$b]['hfInfo']['offdocnum'] = $hospitalFaculty->doctorCount;
                $hfArray[$b]['hfInfo']['offurl'] = $hospitalFaculty->getUrl();
                $b++;
                BeanFinder::get('LocalCache')->removeAll(); 
        }
        return $hfArray;
    }/*}}}*/
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:28,代码来源:hospitalfacultydoctorinfo.php

示例2: if

            <tr>
            <td ><?php if($isDead == false){?><span class="red"><?=$doctor->name?>大夫还没有开通个人网站和在线服务,您可以选择同专业其他专家进行咨询、预约门诊。</span><?php }?></td>
            </tr>
            <tr>
              <td valign="top" style="padding:0px; border-top:none;" >
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
             <?php if ($isDead){ ?>
                    <td valign="top"></td>            
                    <td valign="top">特殊说明:</td>  
                    <td>该医生已经过世</td>
             <?php }else{ ?>
                    <td align="right" style="border-top:none;"><a rel="nofollow" href="/keshi/<?=Codec::getInstance()->encodeId($doctor->hospitalfaculty->faculty->id)?>/zaixian.htm" target="_blank" class="xxzx_button">咨询好大夫</a></td>
                    <td width="110" align="right" style="border-top:none;"><a rel="nofollow" href="http://400.haodf.com/index/search?facultyname=<?=rawurlencode($doctor->hospitalfaculty->faculty->name)?>" title="选择<?=$doctor->hospitalfaculty->name ?>其他可通话专家预约电话咨询" target="_blank" class="xxzx_button" title="选择<?=$doctor->hospitalfaculty->name?>其他可通话专家预约通话咨询">电话咨询</a></td>
                    <td width="110" align="right" style="border-top:none;">
                    <a rel="nofollow" href="http://<?=URL_PREFIX?>jiahao.haodf.com/<?=Area::getProvKeyByName4PlussignChannel($doctor->hospitalfaculty->hospital->province)?>/hospitalfaculty/<?=$doctor->hospitalfaculty->faculty->id?>.htm" target="_blank" class="xxzx_button">申请加号</a>
                    </td>
                  <?php }?>
                  </tr>
                </table>
			</td>
            </tr>
<?php 
            if($isDead == false && $doctor->canOpenSpace())
            { 
?>
                <tr>
                    <td height="50" align="center" valign="middle" style="border-bottom:none;">
                      <form action="/passport/dspace_step1_account.php?doctor_id=<?=Codec::getInstance()->encodeId($doctor->primaryId)?>" method="post">
                        <input type="submit" value="我是<?=$doctor->name?>本人 ,我要开通大夫个人网站&gt;&gt;" style="width:80%; height:30px;" />
                      </form>	
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:content_bp_doctor_about.php

示例3:

    }
}
?>
            </ul>
<?php 
if ($tmpnum == 0) {
    ?>
                <div align="center" style="padding-bottom:10px"><?php 
    echo $space->name;
    ?>
大夫的加号已约满/已停诊,好大夫在线只提供预约两周内的门诊加号,<br>请等待预约时间的更新或者
                <a href="http://<?php 
    echo URL_PREFIX;
    ?>
jiahao.haodf.com/<?php 
    echo Area::getProvKeyByName4PlussignChannel($space->host->hospitalfaculty->hospital->province);
    ?>
/hospitalfaculty/<?php 
    echo $space->host->hospitalfaculty->faculty->id;
    ?>
.htm">点击此处</a>预约其他专家</div>
<?php 
}
?>
            <div class="clinic_hint dn">
                <span class="clinic_hint_bg"></span>
                <p class="clinic_desc">请点击选择门诊时间后,点击下方"申请"按钮进行预约,如暂无门诊,或门诊已约满、已停诊,则当日门诊不可以再进行预约。</p>
            </div>
        </div>
        <!--选择门诊时间 end-->
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:_select_time.php

示例4: foreach

				<?php $i=0; foreach($value1 as $faculty) { ?>
				<?php if($i!=0&&$i%2==0) { ?>
			  </tr>
			  <tr>
				<?php } ?>
				<td width="50%">
                <?php $threadtempurl = "/faculty/".$faculty->getEncodeId()."/daifu.htm"?>
                  <a href="<?=$faculty->getUrl()?>" target="_blank" class="blue"><?=$faculty->name?></a>
                  <span class="gray" title="共有<?=$faculty->doctorCount?>位大夫<?=$faculty->spaceCount? ',其中'.$faculty->spaceCount.'人在线':''?>">(<?=$faculty->doctorCount?>人<?=$faculty->spaceCount?'/<a class="gray_uline" target="_blank" href='.$threadtempurl.'>
                  可咨询'.$faculty->spaceCount.'人':''?></a><?php 
                  foreach ($facultyList as $key => $value){
                      if($faculty->faculty->isNull() == false) {
                          if(false == empty($value[$faculty->faculty->name]['count'])){
                              $plusStat = $value[$faculty->faculty->name];
                              $a = (false == empty($hospital->id))?rawurlencode($hospital->id).'/':'' ;
                              $jiahaotempurl = "http://".URL_PREFIX."jiahao.haodf.com/".rawurlencode(Area::getProvKeyByName4PlussignChannel($isPlus[0]))."/hospitalfaculty/".$a.rawurlencode($plusStat['id']).".htm";
                              echo'/<a class="gray_uline" target="_blank" href='.$jiahaotempurl.'>可预约'.$plusStat['count'].'人';
                          }
                      }
                  }
                ?></a>)</span>
				</td>
				<?php $i++; }?>
			  </tr>
			</table></td>
		</tr>
		<tr>
		  <td colspan="2" class="line"></td>
		</tr>
		<?php } ?>
	  </table>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:_faculty.php

示例5: if

	            <td class="tdl">科室电话:</td>
	            <td class="tdr_b"><?=$hospitalFaculty->phone?></td>
	        </tr>
        <?php }
        
		if($openBookingCount>0){
			//主要是用这个Hospital页的方法拿到地址district
			$isPlus = PlussignChannelClient::getInstance()->isHospitalBookDoctor($hospitalFaculty->hospital->commonName);
		?>
		<tr>
            <td class="tdl">转诊预约:</td>
            <td>

		<div class="clearfix">
					<span class="fl">本科室开通转诊服务的大夫<span class="orange" style="margin-bottom:5px;"><?=$openBookingCount?></span>名</span>
					<a href="http://<?=URL_PREFIX?>jiahao.haodf.com/<?=rawurlencode(Area::getProvKeyByName4PlussignChannel($hospitalFaculty->hospital->province))?>/hospitalfaculty/<?=rawurlencode($hospitalFaculty->hospital->id)?>/<?=rawurlencode($hospitalFaculty->faculty->id)?>.htm" class="fl jiahao_btn ml10" target="_blank">
						<span class="jiahao_btn_l">
							<span class="jiahao_btn_r">
							<span class="jiahao_icon_refer">本科室开通转诊服务的大夫</span>
							</span>
						</span>
					</a>
				</div>
				<p>
					<span>已成功转诊患者<span class="orange" style="margin-bottom:5px;"><?php if(empty($successBookingCount)) echo '0'; else echo $successBookingCount?></span>人次</span>
				</p> 

             </td>	
        </tr>
        <?php }?>
        <?php if ((int)$phoneAnswerCount > 0) { ?>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:_left_info.php

示例6: alpha

</div>
<!--显示医院其他-->
<div id="hp" style="display: none; filter: alpha(opacity=100); opacity: 1;" align="left" onmouseover="this.style.display=''" onmouseout="this.style.display='none'">
<table>
    <tr>
        <td width="100%"></td>
    </tr>
</table>
<table width="100%">
<?php
$n = 0;
$ln = 0;
array_multisort( $districtList[$urlDistrict]['hospital'],SORT_NUMERIC, SORT_DESC);
foreach($districtList[$urlDistrict]['hospital'] as $hospitalName=>$totalInfo){
   $ln++;
   if($n % 3== 0){?>
      <tr>
    <?php }?>
<td width="30%" ><a href="/<?=rawurlencode(Area::getProvKeyByName4PlussignChannel($urlDistrict))?>/hospital/<?=rawurlencode($totalInfo['id'])?>.htm" class="blue"><?=$hospitalName ?>(<?=$totalInfo['count'] ?>)</a></td>
<?php
if($ln == 3){?>
   </tr>
<?php $ln =0;} $n++;}?>
</table>
</div>
</body>
</html>
<div style="display:none"> 
<script src=" http://s6.cnzz.com/stat.php?id=2005759&web_id=2005759" language="JavaScript"></script>
</div>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:30,代码来源:search.php

示例7: foreach

            <td width="23%" align="lift" valign="top" class="bold"><?=$hospitalname?></td>
            <td width="77%">
             <?php foreach($hospitalFacultyIds as $hospitalFacultyId){?>	
	             <?php if(isset($openBookingCount[$hospitalFacultyId])){?>
	             	<span class="jh_xxg_l_list">
	            	<a href="/<?=rawurlencode(Area::getProvKeyByName4PlussignChannel($openBookingCount[$hospitalFacultyId]['province']))?>/hospitalfaculty/<?=rawurlencode($allHospitalFaculty[$hospitalFacultyId]->hospital->id)?>/<?=rawurlencode($allHospitalFaculty[$hospitalFacultyId]->faculty->id)?>.htm" target="_blank">
	            		<?=$allHospitalFaculty[$hospitalFacultyId]->name?>
	            	</a>(<span class="orange2"><?=$openBookingCount[$hospitalFacultyId]['cnt']?></span>位)&nbsp;
	            	</span>
	             <?php }?>	
             <?php }?>	
            </td>
          </tr>
        </table>
        <?php }?>
        <div style="text-align:right; padding:5px 20px 0px 0px"><a href="/<?=rawurlencode(Area::getProvKeyByName4PlussignChannel($district))?>/hospitalfaculty/<?=rawurlencode('2006000')?>.htm" target="_blank" class="blue">更多<?=$district?>可网上预约加号心血管专家>></a></div>
      </div>
      <div class="bottom_bg"></div>
    </div>
    <?php }?>  
    </div>
    <div class="jia_hao_right">
      <div class="jia_hao_sidebar">
        <ul class="j_h_title2">
        <li class="s_l"></li>
        <li>热门心血管专家</li>
        <li class="s_r"></li>
        </ul>
        <div class="j_h_con_bg" style="padding-top:0px">
          <ul class="j_h_lb">
          <?php foreach($spaces as $space) {?>          
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:xinzang.php

示例8: foreach

 </div>
 
  <div class="hdf_case_nav">
   <h2 class="jia">预约加号</h2>
   <?php 
    $m = 0;
   	foreach ($jiahaoHospitalListGroupByProv as $prov => $jiahaoHospitalList)
	{
	?>
    <ul <?=($m%2==0)?"class='change_color'":""?>>
	<li class="title_nav" style="width:80px;"><?=$prov?>地区:</li>
	     <?php 
	     foreach ($jiahaoHospitalList as $jiahaoHospital)
     	 {
	     ?>
	     	<li><a href="http://<?=URL_PREFIX?>jiahao.haodf.com/<?=Area::getProvKeyByName4PlussignChannel($prov)?>/hospital/<?=$jiahaoHospital['hospitalid']?>.htm"><?=$jiahaoHospital['hospitalname']?></a></li>
	     <?php 
         }
	     ?>
    </ul>
	<?php 
		$m++;
	}
	?>
   <div class="clear"></div>
 </div>
 

<div class="hdf_case_nav">
<h3>科室列表</h3>
   <?php 
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:sitemap.php

示例9: implode

                 $api_d = implode(",", $api_tmp);
             }
             $api_tmp = "";
             ?>
             </ul>
         </div>
         <script type="text/javascript" src="http://www.haodf.com/api/get_activetime.php?d=<?=$api_d?>"></script>
         <div class="cls"></div>
     </td>
 </tr>
 <?php } ?>
 <?php if($isPlus){?>
     <tr>
         <td style="vertical-align:middle;"><img src="http://i1.hdfimg.com/space/booking/images/jiahao_03.gif"/></td>
         <td colspan="2" style="vertical-align:middle;">转诊预约:本院开通转诊服务的大夫<span class="orange"><?=$openBookingCount?></span>名&nbsp;&nbsp;
         <a href="http://<?=URL_PREFIX?>jiahao.haodf.com/<?=rawurlencode(Area::getProvKeyByName4PlussignChannel($isPlus[0]))?>/hospital/<?=rawurlencode($hospital->id)?>.htm" target="_blank"><img src="http://i1.hdfimg.com/space/booking/images/hospitaljiahao_button0810.gif" /></a>
         </td>
     </tr>
     <?php if($successBookingCount >= 10){?>
     <tr>
         <td></td>
         <td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         已成功转诊患者<span class="orange"><?=$successBookingCount?></span>人次
         </td>
     </tr>
     <?php }?>
 <?php }?>
 <?php $num = $callServiceDoctorsCnt;
 if($num > 0){?>
 <tr>
     <td style="vertical-align:middle;"><img src="http://i1.hdfimg.com/v2/images/h_hf/telephone.gif"/></td>
开发者ID:sdgdsffdsfff,项目名称:hdf-client,代码行数:31,代码来源:_info.php


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