本文整理汇总了PHP中Listing::FormatListedDate方法的典型用法代码示例。如果您正苦于以下问题:PHP Listing::FormatListedDate方法的具体用法?PHP Listing::FormatListedDate怎么用?PHP Listing::FormatListedDate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Listing
的用法示例。
在下文中一共展示了Listing::FormatListedDate方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<span class="type"> <?php
echo Listing::getViewDetailTenure($model);
?>
</span>
</p>
<div class="ico-group clearfix">
<?php
echo $model->showiconBedroomBathroom($model);
?>
<div class="hdb-town"><?php
echo $model->hdb_town_estate;
?>
</div>
</div>
<p class="type"><?php
echo Listing::FormatListedDate($model);
?>
</p>
<p> <i class="fa fa-eye fa-lg"></i>
<?php
echo (int) $model->view_count;
?>
views</p>
<div class="addthis_native_toolbox" data-title="<?php
echo CmsFormatter::getListingNameDetail($model);
?>
"
accesskey=""data-url="<?php
echo $this->createAbsoluteUrl('site/listingdetail', array('slug' => $model->slug));
示例2: array
"
accesskey=""data-url="<?php
echo $this->createAbsoluteUrl('site/listingdetail', array('slug' => $data->slug));
?>
"></div>
</div>
<div class="description">
<h3>
<a href="<?php
echo Yii::app()->createAbsoluteUrl('site/listingdetail', array('slug' => $data->slug));
?>
">
<?php
echo Listing::FormatNameListingIndexGrid($data, array('not_type' => 1));
?>
</a>
</h3>
<p><?php
echo $data->rPropertyType ? $data->rPropertyType->name : '';
?>
</p>
<?php
echo Listing::FormatShowBuildingOrStreet($data);
?>
<p>Marketed by
<a href="<?php
echo $this->createUrl('/agent/view', array('slug' => $data->rUser->slug));
?>
"><?php
echo $data->rUser->name_for_slug;
?>