本文整理汇总了PHP中CitruscartSelect::datetype方法的典型用法代码示例。如果您正苦于以下问题:PHP CitruscartSelect::datetype方法的具体用法?PHP CitruscartSelect::datetype怎么用?PHP CitruscartSelect::datetype使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CitruscartSelect
的用法示例。
在下文中一共展示了CitruscartSelect::datetype方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<div class="rangeline">
<span class="label label-warning"><?php
echo JText::_('COM_CITRUSCART_TO');
?>
:</span>
<?php
echo JHTML::calendar($state->filter_date_to, "filter_date_to", "filter_date_to", '%Y-%m-%d 00:00:00');
?>
</div>
<div class="rangeline">
<span class="label label-info"><?php
echo JText::_('COM_CITRUSCART_TYPE');
?>
:</span>
<?php
echo CitruscartSelect::datetype($state->filter_datetype, 'filter_datetype', '', 'datetype');
?>
</div>
</div>
</th>
<th style="text-align: left;" colspan="2">
<input id="filter_user" name="filter_user" type="text" value="<?php
echo $state->filter_user;
?>
" size="25" placeholder="<?php
echo JText::_('COM_CITRUSCART_CUSTOMER');
?>
"/>
</th>
<th>
<div class="range">
示例2: array
<div class="rangeline">
<span class="label label-warning"><?php
echo JText::_('COM_CITRUSCART_TO');
?>
:</span>
<?php
echo JHTML::calendar($state->filter_date_to, "filter_date_to", "filter_date_to", '%Y-%m-%d %H:%M:%S', array('class' => 'input-small'));
?>
</div>
<div class="rangeline">
<span class="label label-success"><?php
echo JText::_('COM_CITRUSCART_TYPE');
?>
:</span>
<?php
echo CitruscartSelect::datetype($state->filter_datetype, 'filter_datetype', array('class' => 'input-small'), 'datetype');
?>
</div>
</div>
</th>
<th>
<?php
echo CitruscartSelect::booleans($state->filter_enabled, 'filter_enabled', array('class' => 'input-small'), 'filter_enabled', true);
?>
</th>
<th>
<?php
echo CitruscartSelect::booleans($state->filter_withdraw, 'filter_withdraw', array('class' => 'input-small'), 'filter_withdraw', true);
?>
</th>
</tr>