当前位置: 首页>>代码示例>>PHP>>正文


PHP Lib::output方法代码示例

本文整理汇总了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);
 }
开发者ID:jasonrey,项目名称:project-test-report,代码行数:7,代码来源:view.php

示例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);
 }
开发者ID:jasonrey,项目名称:lab-page,代码行数:7,代码来源:view.php

示例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 
开发者ID:jasonrey,项目名称:project-test-report,代码行数:31,代码来源:report-item.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');
}
开发者ID:jasonrey,项目名称:project-test-report,代码行数:29,代码来源:index.php

示例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>
开发者ID:jasonrey,项目名称:lab-page,代码行数:30,代码来源:dom.php


注:本文中的Lib::output方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。