本文整理汇总了PHP中modules::load方法的典型用法代码示例。如果您正苦于以下问题:PHP modules::load方法的具体用法?PHP modules::load怎么用?PHP modules::load使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类modules
的用法示例。
在下文中一共展示了modules::load方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: setUp
protected function setUp()
{
global $CI, $modules, $communication;
$CI =& get_instance();
$CI->load->library('users/auth');
$CI->auth->login("user", "pass", 1);
$modules = new modules();
$communication = $modules->load('communication/content');
$communication->load->model('communication/communication_model');
}
开发者ID:atlanticsoft,项目名称:codeigniter2_hmvc_bonfire_codeception_phpunit,代码行数:10,代码来源:CommunicationTest.php
示例2:
</div>
</div>
<!-- JUSTIFIED TAB -->
<!-- side navigation -->
<div class="side-nav margin-bottom-60 margin-top-30">
<div class="side-nav-head">
<button class="fa fa-bars"></button>
<h4>TAUTAN</h4>
</div>
<ul class="list-group list-group-bordered list-group-noicon uppercase">
<?php
modules::load('wg/web')->other_links();
?>
</ul>
<!-- /side navigation -->
</div>
</div>
</div>
</div>
</section>
示例3:
<!-- AddThis Button BEGIN --
<div class="addthis_toolbox addthis_default_style" style="width:350px; margin-bottom:50px">
<a href="http://www.addthis.com/bookmark.php?v=250&pubid=xa-4d9b20db5979ef32" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_5"></a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook_like" fb:like:action="recommend" fb:like:layout="button_count"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4d9b20db5979ef32"></script>
!-- AddThis Button END -->
<div style="height:15px"></div>
<?php
modules::load('wg/web')->incident();
?>
<?php
modules::load('wg/web')->right_menu();
?>
<?php
modules::load('wg/web')->news_pages();
?>
</div>
</div>
<?php
modules::load('wg/comments')->comments_add($data["idx"], 4);
modules::load('wg/comments')->comments_list2($data["idx"], 4);
?>
</div>
示例4:
?>
<section>
<div class="container">
<div class="row">
<div class="col-md-<?php
echo $right ? '8' : '12';
?>
">
<?php
$data['content'];
?>
<?php
modules::load('wg/web')->social_ftg('BRWA - ' . $this->page_title, true);
?>
</div>
<?php
if ($right) {
?>
<div class="col-md-4">
<?php
echo $list[0]['content'];
?>
</div>
<?php
}
?>
</div>
示例5:
</div>
</div>
<!--end media-->
<?php
}
?>
<?php
}
?>
</div>
</div>
</div>
<div class="col-md-4">
<h3 style="border-bottom:2px solid #ccc">Wilayah Adat</h3>
<?php
modules::load('wg/web')->incident();
?>
<?php
//modules::load('wg/web')->other_links();
?>
<?php
//modules::load('wg/web')->article_pages(1);
?>
</div>
</div>
</div>
</div>
<div class="section" style="border:1px solid #ddd; border-width:1px 0">
<div class="container">
<div class="row">
示例6: visitor_online
public function visitor_online()
{
//echo modules::run('wg/wg/get_visitor_online',TRUE);
pre(modules::load('wg/wg')->get_visitor_online(TRUE));
}
示例7:
<h3 class="sub" style="padding:2px; border-bottom:1px solid #aaa">Berita Lain</h3>
<?php
modules::load('wg/web')->news_pages(false, $data["idx"]);
?>
<?php
}
?>
</div>
</div>
<br />
</div><!--end span8-->
<div class="col-md-4">
<?php
modules::load('wg/web')->brwa_wa();
?>
<?php
modules::load('wg/web')->article_pages(1);
?>
</div>
</div>
<div class="row">
<div class="col-md-8 content-page">
<?php
//modules::load('wg/comments')->comments_add($data["idx"],4);
//modules::load('wg/comments')->comments_list2($data["idx"],4);
?>
</div>
</div>
</div>
示例8:
<p align="justify">Undang-undang nomor 1 tahun 2009 tentang penerbangan Pasal 375 Sistem informasi penerbangan mencakup pengumpulan, pengolahan, penganalisisan, penyimpanan, penyajian, serta penyebaran data dan informasi penerbangan untuk: a. meningkatkan pelayanan kepada masyarakat atau publik; dan b. mendukung perumusan kebijakan di bidang penerbangan. </p>
<p align="justify">Undang-undang nomor 1 tahun 2009 tentang penerbangan Pasal 377 Penyelenggaraan sistem informasi penerbangan dilakukan dengan membangun dan mengembangkan jaringan informasi secara efektif, efisien, dan terpadu yang melibatkan pihak terkait dengan memanfaatkan perkembangan teknologi informasi dan komunikasi. </p>
<p align="justify">Sistem incident reporting dikembangkan untuk melaporkan setiap terjadinya penyimpangan atau ketidaksesuaian prosedur penerbangan guna kepentingan pengumpulan, pengolahan, penganalisaan, penyimpanan, penyajian serta penyebaran data informasi insiden penerbangan namun bukan satu-satunya media untuk menyampaikan informasi insiden penerbangan, setiap personil penerbangan dapat menggunakan jalur komunikasi lain dalam penyampaian informasi kepada Menteri Perhubungan Republik Indonesia, setiap identitas, nomor telepon, maupun email pelapor akan tetap dirahasiakan guna kepentingan investigasi keselamatan penerbangan. </p>
</div>
</div>
<br />
</div><!--end span8-->
<div class="span4" style="border-left:1px solid #eee; padding-left:10px">
<!-- AddThis Button BEGIN --
<div class="addthis_toolbox addthis_default_style" style="width:350px; margin-bottom:50px">
<a href="http://www.addthis.com/bookmark.php?v=250&pubid=xa-4d9b20db5979ef32" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_5"></a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook_like" fb:like:action="recommend" fb:like:layout="button_count"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4d9b20db5979ef32"></script>
!-- AddThis Button END -->
<?php
modules::load('wg/web')->incident();
?>
<?php
modules::load('wg/web')->right_menu();
?>
</div>
</div>
</div>
示例9:
</div>
<div class="pull-right">Rows/page: </div>-->
</div>
</div><!--end span8-->
<div class="span4 right-page">
<!-- AddThis Button BEGIN --
<div class="addthis_toolbox addthis_default_style" style="width:350px; margin-bottom:50px">
<a href="http://www.addthis.com/bookmark.php?v=250&pubid=xa-4d9b20db5979ef32" class="addthis_button_compact">Share</a>
<span class="addthis_separator">|</span>
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_5"></a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook_like" fb:like:action="recommend" fb:like:layout="button_count"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4d9b20db5979ef32"></script>
!-- AddThis Button END -->
<div style="height:15px"></div>
<?php
modules::load('wg/web')->incident();
?>
<?php
modules::load('wg/web')->news_pages();
?>
</div>
</div>
</div>
示例10: module
/** Load a module controller **/
public function module($module)
{
if (is_array($module)) {
return self::modules($module);
}
$ci = modules::$registry[$this->_class];
/* get the controller name */
$controller = strtolower(end(explode('/', $module)));
isset($ci->{$controller}) or $ci->{$controller} = modules::load($module);
return $ci->{$controller};
}
示例11:
<li style="float:right; margin-right:10px"><a href="user"><i class="icon-unlock icon-white"></i> Masuk</a></li>
<?php
} else {
?>
<li style="float:right; margin-right:10px"><a href="user/logout" class="tooltip-demo" data-toggle="tooltip" href="#" data-original-title="Logout"><i class="icon-off icon-white"></i> Keluar</a></li>
<!--<li style="float:right; margin-right:10px"><a href="user/dokumen/request"><i class="icon-edit icon-white"></i> Permohonan</a></li>-->
<?php
}
?>
</ul>
</div>
</nav>
</div>
</div>
</div>
<div id="subhead" style="background:#f4f4f4; display:none;">
<div class="container" style="position:relative">
<div id="shr" class="subheader-inner-replace"></div>
<span id="toTop" class="pull-right">^ Back to Top</span>
</div>
</div>
</div>
<?php
//run visitor online
modules::load('wg/wg')->get_visitor_online(FALSE);
modules::load('wg/wg')->get_visitor_counter(FALSE);
?>