本文整理匯總了PHP中VmHTML::list_checkbox方法的典型用法代碼示例。如果您正苦於以下問題:PHP VmHTML::list_checkbox方法的具體用法?PHP VmHTML::list_checkbox怎麽用?PHP VmHTML::list_checkbox使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類VmHTML
的用法示例。
在下文中一共展示了VmHTML::list_checkbox方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
</div>
</div>
<div class="joint_group_note joint_group_note_1">
<div class="row-fluid">
<div class="span12">
<?php
echo $this->lipsum->words(100);
?>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="pull-right">
<?php
echo VmHTML::list_checkbox('rooming', $this->rooming_select_type, 'select_pre_post_night');
?>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<h4 class="build-your-room"><?php
echo JText::_('Pre night hotel');
?>
</h4>
</div>
</div>
<div class="row-fluid">
示例2:
<div class="btn-toolbar" role="tablist">
<div role="presentation" class="active btn-wrapper"><a class="btn" href="#activities" aria-controls="activities" role="tab" data-toggle="tab"><span class="icon-save"></span>activities</a></div>
<div role="presentation" class="active btn-wrapper"><a class="btn" href="#group_size" aria-controls="group_size" role="tab" data-toggle="tab"><span class="icon-save"></span>group size</a></div>
<div role="presentation" class="active btn-wrapper"><a class="btn" href="#write_service" aria-controls="write_service" role="tab" data-toggle="tab"><span class="icon-save"></span>write service</a></div>
<div role="presentation" class="active btn-wrapper"><a class="btn" href="#meta_tag" aria-controls="meta_tag" role="tab" data-toggle="tab"><span class="icon-save"></span>Meta tag</a></div>
<div role="presentation" class="active btn-wrapper"><a class="btn" href="#trip_facts" aria-controls="trip_facts" role="tab" data-toggle="tab"><span class="icon-save"></span>trip facts</a></div>
</div>
</div>
</div>
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="activities">
<div class="panel panel-default">
<div class="panel-heading">Activities</div>
<div class="panel-body">
<?php
echo VmHTML::list_checkbox('list_activity_id', $this->activities, $this->product->list_activity_id, '', 'tsmart_activity_id', 'title', false);
?>
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="group_size">
<div class="panel panel-default">
<div class="panel-heading">Select price type</div>
<div class="panel-body">
<div class=""></div>
<?php
echo VmHTML::list_radio_price_type('price_type', $this->product->price_type, 'class="required"');
?>
<div class="group-size" style="display: none">