本文整理汇总了PHP中Lib::output方法的典型用法代码示例。如果您正苦于以下问题:PHP Lib::output方法的具体用法?PHP Lib::output怎么用?PHP Lib::output使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Lib
的用法示例。
在下文中一共展示了Lib::output方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: display
public function display()
{
$this->main();
$body = $this->output();
$vars = array_merge(array('body' => $body, 'css' => $this->css, 'js' => $this->js, 'googlefont' => $this->googlefont, 'meta' => $this->meta), $this->vars);
echo Lib::output('common/html', $vars);
}
示例2: display
public function display()
{
$this->main();
$body = $this->output();
$vars = array_merge(array('body' => $body, 'viewname' => $this->viewname, 'pagetitle' => $this->pagetitle, 'metakeywords' => $this->metakeywords, 'metadescription' => $this->metadescription, 'canonical' => $this->canonical, 'css' => $this->css, 'js' => $this->js), $this->vars);
echo Lib::output('common/dom', $vars);
}
示例3: foreach
<a href="javascript:void(0);" class="item-comments-link icon-feather-speech-bubble">Comments <span class="item-comments-counter"><?php
echo $report->totalcomments;
?>
</span> <i class="icon-right-dir"></i></a>
</div>
<div class="item-comments-wrapper">
<div class="item-comments-content">
<ul class="comment-item-list">
<?php
if (!empty($commentsLoaded)) {
?>
<?php
foreach ($report->comments as $comment) {
?>
<?php
echo Lib::output('embed/comment-item', array('comment' => $comment, 'user' => $user));
?>
<?php
}
?>
<?php
} else {
?>
<li class="comment-loading">
<div class="icon-loader">
<span class="icon-loader-clock"></span>
<span class="icon-loader-hour"></span>
<span class="icon-loader-minute"></span>
</div>
</li>
<?php
示例4: die
<?php
!defined('SERVER_EXEC') && die('No access.');
if ($isLoggedIn) {
?>
<div id="report-frame" data-tab="inbox">
<div id="report-tab-navs">
<a href="javascript:void(0);" class="report-tab-nav" data-name="inbox"><i class="icon-feather-archive"></i><p>Inbox</p></a>
<a href="javascript:void(0);" class="report-tab-nav" data-name="settings"><i class="icon-feather-cog"></i><p>Settings</p></a>
</div>
<div id="report-tab-contents">
<div class="report-tab-content" data-name="inbox">
<?php
echo Lib::output('embed/inbox', array('projects' => $projects, 'filterState' => $filterState, 'filterAssignee' => $filterAssignee, 'filterSort' => $filterSort, 'filterProject' => $filterProject, 'reports' => $reports, 'assignees' => $assignees, 'showProjectsFilter' => true, 'user' => $user));
?>
</div>
<div class="report-tab-content" data-name="settings">
<?php
echo Lib::output('embed/settings', array('projects' => $projects, 'filterSettingsProject' => $filterSettingsProject, 'userSettings' => $userSettings, 'showProjectsFilter' => true, 'user' => $user, 'assignees' => $assignees, 'users' => $users, 'categories' => $categories));
?>
</div>
</div>
</div>
<?php
echo Lib::output('embed/screenshot-preview');
} else {
echo Lib::output('embed/before-login');
}
示例5: array
}
?>
<?php
if (Config::env() === 'development') {
?>
<script type="text/javascript" src="assets/js/coffee-script.js"></script>
<?php
}
?>
<title><?php
echo !empty($pagetitle) ? $pagetitle : Config::getPageTitle();
?>
</title>
</head>
<body>
<?php
echo Lib::output('common/menu', array('viewname' => $viewname, 'slug' => !empty($slug) ? $slug : ''));
if (empty($hideHeader)) {
echo Lib::output('common/header', array('pagetitle' => !empty($pagetitle) ? $pagetitle : Config::getPageTitle(), 'pagesubtitle' => !empty($pagedate) ? $pagedate : 'jsonobject.io'));
}
?>
<div class="wrapper">
<?php
echo $body;
?>
</div>
</body>
</html>