本文整理汇总了PHP中Resource::css方法的典型用法代码示例。如果您正苦于以下问题:PHP Resource::css方法的具体用法?PHP Resource::css怎么用?PHP Resource::css使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Resource
的用法示例。
在下文中一共展示了Resource::css方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
$params->title = "Controller";
$params->js = array(Resource::js('controller'), Resource::js('editor'), '/CodeMirror/js/codemirror.js');
$params->css = array(Resource::css('style'), Resource::css('controller'), Resource::css('editor'));
示例2: array
<?php
$params->title = "Bong Web Architecture PHP Implementation";
$params->js = array(SysResource::js("jquery"), SysResource::js("dump"), SysResource::js("bong.bootstrap"));
$params->css = array(Resource::css('style'), SysResource::css("dump"));
示例3: base_url
?>
" />
<link rel="stylesheet" href="<?php
echo Resource::css('assets/bootstrap/css/bootstrap-theme.min.css');
?>
" />
<link rel="stylesheet" href="<?php
echo Resource::css('assets/site/css/index.css');
?>
" />
<link rel="stylesheet" href="<?php
echo Resource::css('assets/site/css/homepage.css');
?>
" />
<link rel="stylesheet" href="<?php
echo Resource::css('assets/site/css/guest.css');
?>
" />
<script>
var jsHome = '<?php
echo base_url();
?>
';
</script>
</head>
<body>
<div class="page">
<div class="container-fluid home_top"><?php
$this->load->view('top');
?>
</div>