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


PHP CitruscartSelect::manufacturer方法代码示例

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


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

示例1: array

echo JText::_('COM_CITRUSCART_MANUFACTURER');
?>
:</th>
			<th><?php 
echo JText::_('COM_CITRUSCART_SELECT_DATE_RANGE');
?>
:</th>
		</thead>
		<tbody>
			<tr>
			   <td><input type="text" name="filter_product_name" id="filter_product_name" value="<?php 
echo $state->filter_product_name;
?>
" style="width: 250px;" /></td>
			   <td><?php 
echo CitruscartSelect::manufacturer($state->filter_manufacturer_id, 'filter_manufacturer_id', array('class' => 'inputbox', 'size' => '1'), null, true);
?>
</td>
               <td>
	               <?php 
$attribs = array('class' => 'inputbox', 'size' => '1');
?>
				   <?php 
echo CitruscartSelect::reportrange($state->filter_range ? $state->filter_range : 'custom', 'filter_range', $attribs, 'range', true);
?>
				   <span class="label"><?php 
echo JText::_('COM_CITRUSCART_FROM');
?>
:</span>
				   <?php 
echo JHTML::calendar($state->filter_date_from, "filter_date_from", "filter_date_from", '%Y-%m-%d %H:%M:%S');
开发者ID:joomlacorner,项目名称:citruscart,代码行数:31,代码来源:form.php

示例2: defined

-------------------------------------------------------------------------*/
/** ensure this file is being included by a parent file */
defined('_JEXEC') or die('Restricted access');
$form = $this->form;
$row = $this->row;
$helper_product = new CitruscartHelperProduct();
?>

<table class="table table-striped table-bordered" style="width: 100%;">
    <tr>
        <td class="dsc-key"><?php 
echo JText::_('COM_CITRUSCART_MANUFACTURER');
?>
:</td>
        <td class="dsc-value"><?php 
echo CitruscartSelect::manufacturer($row->manufacturer_id, 'manufacturer_id', '', 'manufacturer_id', false, true);
?>
        </td>
    </tr>
    <?php 
if (empty($row->product_id)) {
    // doing a new product, so display a notice
    ?>
    <tr>
        <td class="dsc-key"><?php 
    echo JText::_('COM_CITRUSCART_PRODUCT_ATTRIBUTES');
    ?>
:</td>
        <td class="dsc-value">
            <div class="note well">
                <?php 
开发者ID:joomlacorner,项目名称:citruscart,代码行数:31,代码来源:form_properties.php


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