コード例 #1
0
 /**
  * Method to get the field options.
  *
  * @return  array  The field option objects.
  *
  * @since   3.5
  */
 public function getOptions()
 {
     $options = InstallerHelper::getStateOptions();
     return array_merge(parent::getOptions(), $options);
 }
コード例 #2
0
ファイル: default_filter.php プロジェクト: adjaika/J3Base
echo JHtml::_('select.options', array('0' => JText::_('JSITE'), '1' => JText::_('JADMINISTRATOR')), 'value', 'text', $this->state->get('filter.client_id'), true);
?>
			</select>

            <label class="selectlabel" for="filter_status">
				<?php 
echo JText::_('COM_INSTALLER_VALUE_STATE_SELECT');
?>
			</label>
			<select name="filter_status" id="filter_status">
				<option value=""><?php 
echo JText::_('JOPTION_SELECT_PUBLISHED');
?>
</option>
				<?php 
echo JHtml::_('select.options', InstallerHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.status'), true);
?>
			</select>

            <label class="selectlabel" for="filter_type">
				<?php 
echo JText::_('COM_INSTALLER_VALUE_TYPE_SELECT');
?>
			</label>
			<select name="filter_type" id="filter_type">
				<option value=""><?php 
echo JText::_('COM_INSTALLER_VALUE_TYPE_SELECT');
?>
</option>
				<?php 
echo JHtml::_('select.options', InstallerHelper::getExtensionTypes(), 'value', 'text', $this->state->get('filter.type'), true);