本文整理汇总了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>
示例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>
示例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>
示例4: formatLongDate
if ($value == 1) {
return "Minimum";
} elseif ($value == 2) {
return "Maximum";
}
}
public function formatLongDate($value)