本文整理汇总了PHP中CommonController::getAccomodationFolderPath方法的典型用法代码示例。如果您正苦于以下问题:PHP CommonController::getAccomodationFolderPath方法的具体用法?PHP CommonController::getAccomodationFolderPath怎么用?PHP CommonController::getAccomodationFolderPath使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CommonController
的用法示例。
在下文中一共展示了CommonController::getAccomodationFolderPath方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<div class="filter-select">
<select id="myDropdownListing" class="filter-feild filter-accommodation">
<option value="">Accommodation Type</option>
<?php
$dataAccommodationType = $commonController->getTableData(array('table' => 'accommodations', 'order' => 'name', 'where' => array('status=1', 'is_delete=0')));
if (!empty($dataAccommodationType)) {
while ($row = mysql_fetch_array($dataAccommodationType)) {
?>
<option <?php
echo !empty($_POST['accommodation']) && $_POST['accommodation'] == $row['id'] || !empty($_POST['filterAccommodation']) && $_POST['filterAccommodation'] == $row['id'] ? 'selected' : '';
?>
value="<?php
echo $row['id'];
?>
" data-imagesrc="<?php
echo $commonController->resize_image(!empty($row['logo']) ? $commonController->getAccomodationFolderPath($row['logo']) : 'images/common/no-accomodation-image.png', 16);
?>
" ><?php
echo $row['name'];
?>
</option> <?php
}
}
?>
</select>
<input type="hidden" name="filterAccommodation" id="hdnAccommodation" />
</div>
<div class="filter-price dropdown">
<div aria-expanded="false" data-toggle="dropdown" class="filter-lable small-label filter-slider">
Deal