本文整理匯總了PHP中TiendaSelect::productstates方法的典型用法代碼示例。如果您正苦於以下問題:PHP TiendaSelect::productstates方法的具體用法?PHP TiendaSelect::productstates怎麽用?PHP TiendaSelect::productstates使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類TiendaSelect
的用法示例。
在下文中一共展示了TiendaSelect::productstates方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: defined
defined('_JEXEC') or die('Restricted access');
$state = @$this->state;
$rows = @$this->get('List');
$form = @$this->form;
JHTML::_('behavior.modal');
JHTML::_('behavior.tooltip');
$model = $this->getModel();
$page = $this->get('Pagination');
?>
<form action="<?php
echo JRoute::_(@$form['action'] . '&tmpl=component&object=' . $this->object);
?>
" method="post" name="adminForm">
<div class="pull-left">
<?php
echo TiendaSelect::productstates(@$state->filter_state, 'product_state', array('class' => 'inputbox', 'onchange' => 'this.form.submit();'));
?>
</div>
<?php
echo TiendaGrid::searchform(@$state->filter, JText::_('COM_TIENDA_SEARCH'), JText::_('COM_TIENDA_RESET'));
?>
<table class="dsc-clear table table-striped">
<thead>
<tr>
<th width="2%" class="title">
<?php
echo DSCGrid::sort('ID', 'tbl.product_id', @$state->direction, @$state->order);
?>
</th>
<th style="width:50px;">