当前位置: 首页>>代码示例>>PHP>>正文


PHP TiendaSelect::category方法代码示例

本文整理汇总了PHP中TiendaSelect::category方法的典型用法代码示例。如果您正苦于以下问题:PHP TiendaSelect::category方法的具体用法?PHP TiendaSelect::category怎么用?PHP TiendaSelect::category使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TiendaSelect的用法示例。


在下文中一共展示了TiendaSelect::category方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

" id="filter_id_to" name="filter_id_to" value="<?php 
echo @$state->filter_id_to;
?>
" size="5" class="input input-tiny" />
                        </div>
                    </div>
                	
       
                </th>
                <th style="text-align: left;" colspan="2">
                	<input id="filter_name" name="filter_name" placeholder="Product Name..." type="text" value="<?php 
echo @$state->filter_name;
?>
" size="25"/>
                	<?php 
echo TiendaSelect::category(@$state->filter_category, 'filter_category', $attribs, 'category', true);
?>
                	<?php 
echo TiendaSelect::booleans(@$state->filter_ships, 'filter_ships', $attribs, 'ships', true, 'Requires Shipping', 'Yes', 'No');
?>
                	<?php 
echo TiendaSelect::taxclass(@$state->filter_taxclass, 'filter_taxclass', $attribs, 'taxclass', true, false);
?>
                </th>
                <th>
                	<input id="filter_sku" name="filter_sku" type="text" value="<?php 
echo @$state->filter_sku;
?>
" size="15"/>
                </th>
                <th>
开发者ID:annggeel,项目名称:tienda,代码行数:31,代码来源:default.php

示例2:

<div id="productSearch">
    <form action="<?php 
echo JRoute::_('index.php', false);
?>
" method="post" name="productSearch" onSubmit="if(this.elements['filter'].value == '<?php 
echo JText::_('COM_TIENDA_SKU_MODEL_OR_KEYWORD');
?>
') this.elements['filter'].value = '';">
        <?php 
echo JText::_('COM_TIENDA_SEARCH') . ': ';
?>
        <?php 
if ($category_filter != '0') {
    ?>
            <?php 
    echo TiendaSelect::category('', 'filter_category', '', '', false, false, 'All Categories', '', '1');
    ?>
        <?php 
} else {
    ?>
            <input type="hidden" name="filter_category" value="1" />    
        <?php 
}
?>
        <input type="text" name="filter" value="<?php 
echo JText::_($filter_text);
?>
" onclick="this.value='';"/> 
        <input type="submit" value="<?php 
echo JText::_('COM_TIENDA_SUBMIT');
?>
开发者ID:annggeel,项目名称:tienda,代码行数:31,代码来源:default.php

示例3: array

" type="text" size="48" maxlength="250" />
                        </td>
                    </tr>
    				<tr>
    					<td style="width: 100px; text-align: right;" class="key">
    						<label for="parent_id">
    						<?php 
echo JText::_('COM_TIENDA_PARENT');
?>
:
    						</label>
    					</td>
    					<td>
    						<?php 
$disabled = array(@$row->category_id);
echo TiendaSelect::category(@$row->parent_id, 'parent_id', '', 'parent_id', false, true, 'Select Category', 'COM_TIENDA_NO_PARENT', null, $disabled);
?>
    					</td>
    				</tr>
    				<tr>
    					<td style="width: 100px; text-align: right;" class="key">
    						<label for="enabled">
    						<?php 
echo JText::_('COM_TIENDA_ENABLED');
?>
:
    						</label>
    					</td>
    					<td>
    						<?php 
echo TiendaSelect::btbooleanlist('category_enabled', '', @$row->category_enabled);
开发者ID:annggeel,项目名称:tienda,代码行数:31,代码来源:form.php

示例4: array

" />
                <button class="btn btn-primary" onclick="this.form.submit();"><?php 
echo JText::_('COM_TIENDA_SEARCH');
?>
</button>
                <button class="btn btn-danger" onclick="tiendaFormReset(this.form);"><?php 
echo JText::_('COM_TIENDA_RESET');
?>
</button>
            </td>
            <td nowrap="nowrap">
                <?php 
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'document.adminForm.submit();');
?>
                <?php 
echo TiendaSelect::category(@$state->filter_parentid, 'filter_parentid', $attribs, 'parentid', true, true);
?>
            </td>
        </tr>
    </table>
	
	<table class="table table-striped table-bordered" style="clear: both;">
		<thead>
            <tr>
                <th style="width: 5px;">
                	<?php 
echo JText::_('COM_TIENDA_NUM');
?>
                </th>
                <th style="width: 20px;">
                	<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php 
开发者ID:annggeel,项目名称:tienda,代码行数:31,代码来源:selectcategories.php

示例5:

        </td>
    </tr>
    <?php 
if (empty($row->product_id)) {
    // doing a new product, so collect default info
    ?>
    <tr>
        <td class="dsc-key">
        <label for="category_id"> <?php 
    echo JText::_('COM_TIENDA_PRODUCT_CATEGORY');
    ?>
:
        </label>
        </td>
        <td><?php 
    echo TiendaSelect::category('', 'category_id', '', 'category_id');
    ?>
            <div class="note well">
                <?php 
    echo JText::_('COM_TIENDA_SET_INITIAL_CATEGORY_NOW_ADDITIONAL_ONES_LATER');
    ?>
            </div>
        </td>
    </tr>
    <?php 
} else {
    // display lightbox link to manage categories
    ?>
    <tr>
        <td class="dsc-key"><?php 
    echo JText::_('COM_TIENDA_CATEGORIES');
开发者ID:annggeel,项目名称:tienda,代码行数:31,代码来源:form_properties.php

示例6: array

            <input id="filter_name" name="filter_name" value="<?php 
echo @$state->filter_name;
?>
" size="25" class="text_area" />
        </div>            

        <div class="row filtermulticategory" >
            <span class="label"><?php 
echo JText::_('COM_TIENDA_CATEGORY');
?>
: </span> 
            <?php 
$catattribut = array('class' => 'inputbox', 'size' => '1', 'multiple' => 'yes', 'size' => 5);
?>
            <?php 
echo TiendaSelect::category(@$state->filter_multicategory, 'filter_multicategory[]', $catattribut, 'filter_multicategory', true);
?>
        </div>
        
        <div class="row filtershipping" >
            <span class="label"><?php 
echo JText::_('COM_TIENDA_REQUIRES_SHIPPING');
?>
: </span> 
            <?php 
echo TiendaSelect::booleans(@$state->filter_ships, 'filter_ships', '', 'ships', true, "Doesn't Matter", 'Yes', 'No');
?>
        </div>
        
        <div class="row filtersku" >   
            <span class="label"><?php 
开发者ID:annggeel,项目名称:tienda,代码行数:31,代码来源:default.php


注:本文中的TiendaSelect::category方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。