本文整理汇总了PHP中Renderer::get_sidebar方法的典型用法代码示例。如果您正苦于以下问题:PHP Renderer::get_sidebar方法的具体用法?PHP Renderer::get_sidebar怎么用?PHP Renderer::get_sidebar使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Renderer
的用法示例。
在下文中一共展示了Renderer::get_sidebar方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<!-- jQuery -->
<script src="/bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/ngDialog/js/ngDialog.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Angular Moment -->
<script src="bower_components/angular-moment/angular-moment.js"></script>
<!-- Custom Scripts -->
<script type="text/javascript" src="/angular/thisweek.js"></script>
</head>
<body ng-controller="controller" ng-init="init('<?php echo $user->user_id;?>')">
<div id="page-wrapper" ng-class="{'open': toggle}" ng-cloak>
<?php Renderer::get_sidebar();?>
<div id="content-wrapper">
<div class="page-content">
<!-- Header Bar -->
<!-- Header Bar -->
<div class="row header" style="margin:0px;padding:0px;">
<div class="col-xs-12" style="margin-bottom:0px;">
<div class="user pull-right">
<div class="item dropdown">
<a href="#" class="dropdown-toggle">
<img ng-src="{{user.avatar_link}}">
</a>
<?php Renderer::get_user_dropdown();?>
</div>
<div class="item dropdown">
示例2:
<!-- Custom Scripts -->
<script type="text/javascript" src="/angular/date.js"></script>
</head>
<body ng-controller="controller" ng-init="init('<?php
echo $date_id;
?>
', '<?php
echo $user->user_id;
?>
')">
<div id="page-wrapper" ng-class="{'open': toggle}" ng-cloak>
<?php
Renderer::get_sidebar();
?>
<div id="content-wrapper">
<div class="page-content">
<!-- Header Bar -->
<div class="row header" style="margin:0px;padding:0px;">
<div class="col-xs-12" style="margin-bottom:0px;">
<div class="user pull-right">
<div class="item dropdown">
<a href="#" class="dropdown-toggle">
<img ng-src="{{user.avatar_link}}">
</a>
<?php
Renderer::get_user_dropdown();