getLetterOptions() public static méthode

public static getLetterOptions ( )
Exemple #1
0
					</thead>
					<tbody>
					<tr>
						<td>
							<?php 
echo CHtml::dropDownList('subspecialty-id', @$_POST['subspecialty-id'], Subspecialty::model()->getList(), array('empty' => 'All specialties', 'ajax' => array('type' => 'POST', 'data' => array('subspecialty_id' => 'js:this.value', 'YII_CSRF_TOKEN' => Yii::app()->request->csrfToken), 'url' => Yii::app()->createUrl('/OphTrOperationbooking/waitingList/filterFirms'), 'success' => "js:function(data) {\n\t\t\t\t\t\t\t\t\t\t\tif (\$('#subspecialty-id').val() != '') {\n\t\t\t\t\t\t\t\t\t\t\t\t\$('#firm-id').attr('disabled', false);\n\t\t\t\t\t\t\t\t\t\t\t\t\$('#firm-id').html(data);\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\$('#firm-id').attr('disabled', true);\n\t\t\t\t\t\t\t\t\t\t\t\t\$('#firm-id').html(data);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}")));
?>
						</td>
						<td>
							<?php 
echo CHtml::dropDownList('firm-id', @$_POST['firm-id'], $this->getFilteredFirms(@$_POST['subspecialty-id']), array('empty' => 'All firms', 'disabled' => !@$_POST['firm-id']));
?>
						</td>
						<td>
							<?php 
echo CHtml::dropDownList('status', @$_POST['status'], Element_OphTrOperationbooking_Operation::getLetterOptions());
?>
						</td>
						<td>
							<?php 
echo CHtml::dropDownList('site_id', @$_POST['site_id'], Site::model()->getListForCurrentInstitution(), array('empty' => 'All sites'));
?>
						</td>
						<td>
							<?php 
echo CHtml::textField('hos_num', @$_POST['hos_num'], array('autocomplete' => Yii::app()->params['html_autocomplete'], 'size' => 12));
?>
							<span id="hos_num_error" class="red"<?php 
if (!@$_POST['hos_num'] || ctype_digit($_POST['hos_num'])) {
    ?>
 style="display: none;"<?php