本文整理汇总了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');
示例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