當前位置: 首頁>>代碼示例>>PHP>>正文


PHP VmHTML::list_checkbox方法代碼示例

本文整理匯總了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">
開發者ID:cuongnd,項目名稱:etravelservice,代碼行數:31,代碼來源:default.php

示例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">
開發者ID:cuongnd,項目名稱:etravelservice,代碼行數:31,代碼來源:product_edit_information.php


注:本文中的VmHTML::list_checkbox方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。