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


PHP Html::address方法代碼示例

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


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

示例1:

<?php

/* @var $this yii\web\View */
use kartik\helpers\Html;
$this->title = 'contact-ubudsatu.com';
?>


<div class="content">
			<div class="content">					
				
				 <div class="row">
					<div class="col-md-12">
						<h4 class="page-head-line">CONTACT</h4>			
						<?php 
echo Html::well(Html::address('DUTA BINTARO, Cluster Ubud Satu', ['Kelurahan Kunciran, Kecamatan Pinang', 'Tangerang.'], ['Tel ' => '(021) '], ['Fax ' => '(021) '], ['Website : ' => 'www.ubudsatu.com', 'Email' => 'ubudsatu@gmail.com']), Html::SIZE_TINY);
?>
		
				</div>
				 	
			</div>				
		</div>
</div>
開發者ID:ptrnov,項目名稱:ubudsatu,代碼行數:23,代碼來源:index.php

示例2: date

						</div>
					</div>
				</div>
				 <div class="row">
					<div class="col-md-12">
						<h4 class="page-head-line">Perusahaan</h4>
						<?php 
echo $content;
?>
					</div>
				</div>
				 <div class="row">
					<div class="col-md-12">
						<h4 class="page-head-line">CONTACT</h4>					
						<?php 
echo Html::well(Html::address('Ruko De Mansion Blok C No.12', ['Jl. Jalur Sutera, Alam Sutera, Serpong', 'Tangerang Selatan.'], ['Tel ' => '(021) 3044-85-98/99'], ['Fax ' => '(021) 3044 85 97'], ['Website : ' => 'www.lukison.com', 'Email' => 'info@lukison.com']), Html::SIZE_TINY);
?>
		
					</div>
				</div>				
			</div>				
		</div>
			
	</div>		
		<footer class="footer bg-black" style="height: 50px">
			<br>
				<?php 
echo $corp . date('Y');
?>
			</br>
		</footer>
開發者ID:adem-team,項目名稱:advanced,代碼行數:31,代碼來源:_front-ver1.php

示例3:

echo Html::encode($this->title);
?>
</h1>
    <!-- Google Map -->
    <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3455.454059156738!2d-95.57263599999999!3d29.995115999999996!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x8640d2629077027b%3A0x16725099b7fa483d!2sVintage+Park+Leasing+%26+Management!5e0!3m2!1sen!2sus!4v1403725703074" width="100%" height="300" frameborder="0" style="border:0"></iframe>
    <!---/map-->
    <!-- End Google Map -->
    <div class="container">		
	<div class="row contacts-page">
		<div class="col-md-12">
            <div class="row">
                <div class="col-md-4 col-sm-4">
                    <section><!-- Contacts -->
                        <h4 class="content-title">Contacts Details</h4>
		                   <?php 
echo Html::address('My Company, Inc.', ['<i class="fa fa-map-marker"></i> 795 Folsom Ave, Suite 600', 'San Francisco, CA 94107'], ['Res' => '<i class="fa fa-phone"></i> (123) 456-7890', 'Off' => '<i class="fa fa-phone"></i> (456) 789-0123'], ['Res' => '<i class="fa fa-envelope"></i> first.last@example.com', 'Off' => '<i class="fa fa-envelope"></i> last.first@example.com']);
?>
                       <!--  <ul class="list-unstyled margin-bottom-20">
                            <li><i class="fa fa-map-marker"></i> 110 Vintage Park Boulevard, Houston, TX 77070</li>
                            <li><i class="fa fa-envelope"></i> info@example.com</li>
                            <li><i class="fa fa-phone"></i> 1(281) 3x0 x52x</li>
                            <li><i class="fa fa-globe"></i> http://www.example.com</li>
                        </ul> -->
                    </section>
                </div>
                <div class="col-md-4 col-sm-4">
                    <section><!-- Business Hours -->
                        <h4 class="content-title">Business Hours</h4>
                        <ul class="list-unstyled">
                            <li><strong>Monday-Friday</strong>: 8am to 5pm</li>
                            <li><strong>Saturday</strong>: Closed</li>
開發者ID:phaniapsr,項目名稱:yiicomm,代碼行數:31,代碼來源:contact.php


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