本文整理汇总了PHP中head_css函数的典型用法代码示例。如果您正苦于以下问题:PHP head_css函数的具体用法?PHP head_css怎么用?PHP head_css使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了head_css函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: option
<head>
<meta charset="utf-8">
<title>
<?php
echo option('site_title');
echo isset($title) ? ' | ' . $title : '';
?>
</title>
<!-- Google analytics. -->
<?php
fire_plugin_hook('public_head', array('view' => $this));
?>
<!-- CSS/JS. -->
<?php
echo head_css(false);
?>
<?php
echo head_js(false);
?>
</head>
<?php
echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));
?>
<div class="container">
示例2: auto_discovery_link_tags
<?php
echo auto_discovery_link_tags();
?>
<!-- Will fire plugins that need to include their own files in <head> -->
<?php
fire_plugin_hook('public_head', array('view' => $this));
?>
<!-- Need to add custom and third-party CSS files? Include them here -->
<?php
queue_css_file('lib/bootstrap.min');
queue_css_file('style');
\queue_css_file('bootstrap-theme');
echo head_css();
?>
<!-- Need more JavaScript files? Include them here -->
<?php
queue_js_file('lib/bootstrap.min');
queue_js_file('globals');
echo head_js();
?>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<?php
echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));
示例3: _getCssOutput
private function _getCssOutput()
{
ob_start();
echo head_css();
return ob_get_clean();
}