Beispiel #1
0
 /**
  * Method to get the field input markup.
  *
  * @return	string	The field input markup.
  * @since	1.6
  */
 protected function getInput()
 {
     // Initialize variables.
     $html = array();
     $options = array();
     $selectedId = (int) $this->form->getValue('reservation_asset_id');
     $options = SolidresHelper::getReservationAssetOptions();
     $selectAttributes = array('class' => 'required', 'required' => 'required');
     $html[] = JHtml::_('select.genericlist', $options, $this->name, $selectAttributes, 'value', 'text', $selectedId);
     return implode($html);
 }
Beispiel #2
0
echo JText::_('SR_SEARCH_IN_TITLE');
?>
" />
		                    </th>
		                    <th>
		                        <select name="filter_published" class="inputbox" onchange="this.form.submit()">
		                            <option value=""></option>
		                            <?php 
echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.state'), true);
?>
		                        </select>
		                    </th>
		                    <th>
		                        <select name="filter_reservation_asset_id" class="inputbox" onchange="this.form.submit()">
		                            <?php 
echo JHtml::_('select.options', SolidresHelper::getReservationAssetOptions(), 'value', 'text', $this->state->get('filter.reservation_asset_id'));
?>
		                        </select>
		                    </th>
		                    <th></th>
		                </tr>
					</thead>
					<tfoot>
						<tr>
							<td colspan="6">
								<?php 
echo $this->pagination->getListFooter();
?>
							</td>
						</tr>
					</tfoot>