本文整理汇总了PHP中Section::start方法的典型用法代码示例。如果您正苦于以下问题:PHP Section::start方法的具体用法?PHP Section::start怎么用?PHP Section::start使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Section
的用法示例。
在下文中一共展示了Section::start方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
Section::start('content');
$sec_printed = print_r($template->template_sections, true);
?>
<h2>'<?php
echo $template->title;
?>
' has been saved.</h2>
<p>Here's what the geeky version of the sections looks like:</p>
<pre> <?php
echo $sec_printed;
?>
</pre>
<?php
Section::stop();
示例2: e
<h1>Projects average <?php
echo e(round($avg_bids_per_project, 1));
?>
bids</h1>
<div id="num-bids-chart"></div>
</div>
<div class="span-5">
<h1>Bids average $<?php
echo e(round($avg_price_total));
?>
</h1>
<div id="price-bids-chart"></div>
</div>
</div>
<?php
Section::start('additional_scripts');
?>
<script src="https://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22visualization%22%2C%22version%22%3A%221%22%2C%22packages%22%3A%5B%22corechart%22%5D%7D%5D%7D"></script>
<?php
?>
<?php
Section::stop();
?>
<script>
Rfpez.reporting_stats({ newVendorPercentage: <?php
echo json_encode($new_to_contracting);
?>
, signupsPerDay: <?php
echo json_encode($signups_per_day);
?>
, bidsPerProject : <?php
示例3:
?>
">← Enter Variables</a>
<button class="btn btn-primary pull-right">Download SOW →</button>
</div>
</form>
</div>
<?php
Section::stop();
?>
<?php
Section::start('additional-scripts');
?>
<?php
echo HTML::script('js/wysihtml5_parser_rules.js');
?>
<?php
echo HTML::script('js/wysihtml5-0.3.0.min.js');
?>
<?php
echo HTML::script('js/bootstrap-wysihtml5.js');
Section::stop();
?>
<?php
Section::start('additional-styles');
?>
<?php
echo HTML::style('css/bootstrap-wysihtml5.css');
Section::stop();
示例4: e
<?php
Section::inject('page_title', 'My Projects');
Section::start('inside_header');
?>
<a class="officer-only toggle-my-all-projects" href="<?php
echo e(route('projects'));
?>
">everybody's projects</a>
<a class="btn btn-small btn-success new-project-btn pull-right" href="<?php
echo e(route('new_projects'));
?>
">
<i class="icon-plus-sign icon-white"></i>
new project
</a>
<?php
Section::stop();
?>
<div class="subheader"></div>
<div class="container inner-container">
<?php
if ($projects) {
?>
<table class="table my-project-table">
<thead>
<tr>
<th class="type"></th>
<th class="project-title">Project</th>
<th class="status">Status</th>
<th class="due">
示例5:
?>
<?php
echo Form::text('options[id]', $test->option('id'));
?>
</div>
<div class="span3">
<?php
echo Form::label('options[attributes][class]', 'CSS Class');
?>
<?php
echo Form::text('options[attributes][class]', $test->option('attributes')['class']);
?>
</div>
<div class="span3">
<?php
echo Form::label('options[inner_text]', 'Element Inner Text');
?>
<?php
echo Form::text('options[inner_text]', $test->option('inner_text'));
?>
</div>
</div>
</div>
<?php
Section::start('additional_footer_content');
?>
<script>require(['clementia/test-types']);</script>
<?php
Section::stop();