本文整理汇总了PHP中Listing::getListOptionsBedroom方法的典型用法代码示例。如果您正苦于以下问题:PHP Listing::getListOptionsBedroom方法的具体用法?PHP Listing::getListOptionsBedroom怎么用?PHP Listing::getListOptionsBedroom使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Listing
的用法示例。
在下文中一共展示了Listing::getListOptionsBedroom方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<div class="col-sm-8">
<?php
echo $form->dropDownList($model, 'property_type', $types, array('empty' => 'Please Select', 'class' => 'form-control'));
?>
<?php
echo $form->error($model, 'property_type');
?>
</div>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'room_type', array('class' => 'control-label col-sm-4'));
?>
<div class="col-sm-8">
<?php
echo $form->dropDownList($model, 'room_type', Listing::getListOptionsBedroom(), array('empty' => 'Please Select', 'class' => 'form-control'));
?>
<?php
echo $form->error($model, 'room_type');
?>
</div>
</div>
<div class="form-group">
<?php
echo $form->labelEx($model, 'room_size', array('class' => 'control-label col-sm-4'));
?>
<div class="col-sm-8">
<?php
echo $form->textField($model, 'room_size', array('class' => 'form-control number_only', 'placeholder' => 'enter text...', 'style' => 'width:92px;display: inline-block;'));
?>
<?php
示例2: array
</div>
</div>
<div class="anhdung_Tenant">
<?php
echo $form->labelEx($model, 'bedrooms', array('label' => 'Bedrooms', 'class' => 'lb'));
?>
<div class="clearfix">
<div class="col-1">
<?php
echo $form->dropDownList($model, 'min_bedroom', Listing::getListOptionsBedroom(), array('empty' => 'Minimum', 'id' => 'minimum_bedroom_engage_rent'));
?>
</div>
<div class="col-2">
<?php
echo $form->dropDownList($model, 'max_bedroom', Listing::getListOptionsBedroom(), array('empty' => 'Maximum', 'id' => 'maximum_bedroom_engage_rent'));
?>
</div>
<?php
echo $form->error($model, 'min_bedroom');
?>
<?php
echo $form->error($model, 'max_bedroom');
?>
</div>
</div>
<div class="anhdung_Tenant">
<?php
echo $form->labelEx($model, 'floor_size', array('label' => 'Floor Size', 'class' => 'lb'));
示例3: array
?>
</div>
</div>
</div>
<div class="form-group sidebar-tab">
<label class="control-label">Bedrooms</label>
<div class="row">
<div class="col-xs-6">
<?php
echo CHtml::dropDownList('minimum_bedroom', $s_minimum_bedroom, Listing::getListOptionsBedroom(), array('empty' => 'Minimum', 'class' => 'form-control'));
?>
</div>
<div class="col-xs-6">
<?php
echo CHtml::dropDownList('maximum_bedroom', $s_maximum_bedroom, Listing::getListOptionsBedroom(), array('empty' => 'Maximum', 'class' => 'form-control'));
?>
</div>
</div>
</div>
<div class="form-group sidebar-tab">
<label class="control-label">Floor Size</label>
<div class="row">
<div class="col-xs-6">
<?php
echo CHtml::dropDownList('minimum_floor', $s_minimum_floor, ProMasterFloor::getListOption(), array('empty' => 'Minimum', 'class' => 'form-control'));
?>
</div>
<div class="col-xs-6">
<?php
示例4: implode
</div>
</div>
<div class="of_bedroom in-row clearfix ad_nb_show_all <?php
echo implode(' ', ProPropertyType::$A_FIELD_MAP['of_bedroom']);
?>
">
<?php
echo $form->labelEx($model, 'of_bedroom', array('class' => 'lb-1'));
?>
<div class="group-1">
<?php
// echo $form->dropDownlist($model, 'of_bedroom', ProMasterBedroom::getListDataBedroom('id'), array('empty' => 'Select'));
?>
<?php
echo $form->dropDownlist($model, 'of_bedroom', Listing::getListOptionsBedroom(), array('empty' => 'Select'));
?>
<div class="clear" style='clear: both;'></div>
<?php
echo $form->error($model, 'of_bedroom');
?>
</div>
</div>
<div class="of_bathrooms in-row clearfix ad_nb_show_all <?php
echo implode(' ', ProPropertyType::$A_FIELD_MAP['of_bathrooms']);
?>
">
<?php
示例5: getRoomTypeText
public function getRoomTypeText()
{
return Yii::app()->format->formatEnum($this->room_type, Listing::getListOptionsBedroom());
}
示例6:
}
?>
<div class="search-tab">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation"><a href="#sale-search" class="for_sale" aria-controls="home" role="tab" data-toggle="tab">For Sale</a>
</li>
<li role="presentation" class="active"><a href="#sale-search" class="for_rent" aria-controls="profile" role="tab" data-toggle="tab">For Rent</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="sale-search">
<form action="<?php
echo $this->createUrl('site/index');
?>
" method="GET">
<input type="hidden" name="listing_for" value="for_rent" id="listing_for"/>
<div class="row">
<div class="col-sm-3 form-group">
<div class="select-wrap">
<?php
$this->renderPartial('application.components.views.property_search_type');
?>
</div>
</div>
<div class="col-sm-9 form-group">
<input name="keywords" type="text" class="form-control" placeholder="Property Name, Address or Postal Code"/>
</div>
</div>
<div class="row">