本文整理汇总了PHP中Widgets::languageBar方法的典型用法代码示例。如果您正苦于以下问题:PHP Widgets::languageBar方法的具体用法?PHP Widgets::languageBar怎么用?PHP Widgets::languageBar使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Widgets
的用法示例。
在下文中一共展示了Widgets::languageBar方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
</head>
<body>
<div id="mobile-menu" class="uk-offcanvas">
<div class="uk-offcanvas-bar">
<ul class="uk-nav uk-nav-offcanvas uk-nav-parent-icon" data-uk-nav>
<?php
echo Yii::app()->functions->mobileMenu();
?>
</ul>
</div> <!--offcanvar bar-->
</div> <!--uk-offcanvas-->
<?php
Widgets::languageBar();
?>
<div class="header-wrap" id="header-wrap">
<div class="main">
<div class="uk-grid">
<div class="section-mobile-menu-link">
<a href="#mobile-menu" data-uk-offcanvas><i class="fa fa-bars"></i></a>
</div>
<div class="uk-width-1-3 top-a">
<div class="section-top section-to-menu-user">
<?php
示例2:
<div class="left main_content">
<div class="inner">
<div class="breadcrumbs">
<div class="inner">
<h2 class="uk-h2"><?php
echo $this->crumbsTitle;
?>
</h2>
<?php
Widgets::smsBalance();
?>
<?php
Widgets::FaxBalance();
?>
<?php
Widgets::languageBar("merchant", true);
?>
</div>
</div> <!--breadcrumbs-->
<div class="content_wrap">
<?php
echo $content;
?>
</div>
</div> <!--INNER-->
</div>
<div class="clear"></div>
</div> <!--END main_wrapper-->
示例3:
</ul>-->
<?php
$this->widget('zii.widgets.CMenu', Yii::app()->functions->adminMenu());
?>
</div>
</div>
<div class="left main_content">
<div class="inner">
<div class="breadcrumbs">
<div class="inner">
<h2 class="uk-h2"><?php
echo $this->crumbsTitle;
?>
</h2>
<?php
Widgets::languageBar("admin", true);
?>
</div>
</div> <!--breadcrumbs-->
<div class="content_wrap">
<?php
echo $content;
?>
</div>
</div> <!--INNER-->
</div>
<div class="clear"></div>
</div> <!--END main_wrapper-->