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


PHP Listing::getListType方法代碼示例

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


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

示例1:

<div class="main-inner-2 T_custom_Step_2">

    <div class="box-1 space-3">
        <div class="title"><h3>Confirmations</h3></div>
        
        <div class="content space-5 tempt"> 
            <div class="row clearfix">
                <div class="lb-1">Current Status :</div> <div ><?php 
echo Yii::app()->format->CurrentStatusListing($model->status_listing);
?>
 </div>
            </div>
            <div class="row clearfix">
                <div class="lb-1">Listing Type :</div> <div ><?php 
echo Listing::getListType($model->listing_type);
?>
 </div>
            </div>
            <div class="row clearfix">
                <div class="lb-1">Property Type :</div> <div><?php 
echo Listing::getViewDetailPropertyType($model);
?>
</div>
            </div>
            <div class="row clearfix">
                <div class="lb-1">Property Name :</div> <?php 
echo $model->display_title != '' ? $model->display_title : $model->property_name_or_address;
?>
 
            </div>
開發者ID:jasonhai,項目名稱:onehome,代碼行數:30,代碼來源:confrimations.php

示例2: array

<div class="main-inner-2">
    <div class="form-type T_form-type">
        <div class="in-row clearfix">
            <?php 
echo $form->labelEx($model, 'listing_type', array('class' => 'lb-1'));
?>
            <div class="group-1">
                <?php 
echo $form->radioButtonlist($model, 'listing_type', Listing::getListType(), array('separator' => '', 'class' => 'text ad_nb_type_listing', 'template' => '<div style="float:left;margin-right:10px;">{input}{label}</div>'));
?>
                <div class="clear" style='clear: both;'></div>
                <?php 
echo $form->error($model, 'listing_type');
?>
               
            </div>
        </div>
        <div class="in-row clearfix display_none">
            <?php 
echo $form->labelEx($model, 'listing_type_transaction', array('class' => 'lb-1'));
?>
            <div class="group-1">
                <?php 
echo $form->radioButtonlist($model, 'listing_type_transaction', ProTransactionsPropertyDetail::$aListingType, array('separator' => '', 'class' => 'text companyTransaction', 'template' => '<div style="float:left;margin-right:10px;">{input}{label}</div>'));
?>
                <div class="clear" style='clear: both;'></div>
                <?php 
echo $form->error($model, 'listing_type_transaction');
?>
               
            </div>
開發者ID:jasonhai,項目名稱:onehome,代碼行數:31,代碼來源:basic_information.php

示例3: array

<div class="main-inner-2">
    <div class="form-type T_form-type" style="border:none;">
        <div class="in-row clearfix">
            <?php 
echo $form->labelEx($model, 'listing_type', array('class' => 'lb-1'));
?>
            <div class="group-1">
                <?php 
echo $form->radioButtonlist($model, 'listing_type', Listing::getListType(), array('separator' => '', 'class' => 'ad_nb_type_listing', 'template' => '<div class="list_type_custom" style="float:left;margin-right:10px;width:120px !important;">{input}  {label}</div>'));
?>
                <div class="clear" style='clear: both;'></div>
                <?php 
echo $form->error($model, 'listing_type');
?>
               
            </div>
        </div>
        <div class="in-row clearfix display_none">
            <?php 
echo $form->labelEx($model, 'listing_type_transaction', array('class' => 'lb-1'));
?>
            <div class="group-1">
                <?php 
echo $form->radioButtonlist($model, 'listing_type_transaction', ProTransactionsPropertyDetail::$aListingType, array('separator' => '', 'class' => 'companyTransaction', 'template' => '<div class="list_type_custom" style="float:left;margin-right:10px;width:120px !important;">{input}{label}</div>'));
?>
                <div class="clear" style='clear: both;'></div>
                <?php 
echo $form->error($model, 'listing_type_transaction');
?>
               
            </div>
開發者ID:jasonhai,項目名稱:onehome,代碼行數:31,代碼來源:basic_information.php

示例4: formatLongDate

     if ($value == 1) {
         return "Minimum";
     } elseif ($value == 2) {
         return "Maximum";
     }
 }
 public function formatLongDate($value)
開發者ID:jasonhai,項目名稱:onehome,代碼行數:7,代碼來源:CmsFormatter.php


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