本文整理汇总了PHP中my_object_select_tag函数的典型用法代码示例。如果您正苦于以下问题:PHP my_object_select_tag函数的具体用法?PHP my_object_select_tag怎么用?PHP my_object_select_tag使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了my_object_select_tag函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: form_error
<?php
#echo form_error('paid_at')
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label ><?php
echo __('Model Pembayaran');
?>
</label></td>
<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag($payment_student, 'getPaymentModelId', PaymentModelPeer::getParents(), array('related_class' => 'PaymentModel', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
<?php
echo form_error('payment_model_id');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label ><?php
echo __('Total Kewajiban');
?>
</label></td>
<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
示例2: object_input_tag
echo object_input_tag($transaction_status, 'getName', array('size' => 32, 'maxlength' => 255));
?>
<?php
echo form_error('name');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Parent');
?>
</label></td>
<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag($transaction_status, 'getParent', $disabled, array('related_class' => 'TransactionStatus', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
<?php
echo form_error('parent');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Description');
?>
</label></td>
<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo object_input_tag($transaction_status, 'getName', array('size' => 64, 'maxlength' => 255));
示例3: object_select_tag
<p style="font-size: 10px; margin-top: -7px; margin-left: 150px;"></p>
<label style="width: 150px;">Agama *</label>
<?php
echo object_select_tag($applicant_detail, 'getReligionId', array('related_class' => 'Religion', 'include_blank' => true));
?>
<?php
echo form_error('religion_id');
?>
</div>
</fieldset>
<fieldset style="margin-top: 5px;">
<legend>Program Pilihan</legend>
<div>
<label style="width: 150px;">Tingkat *</label>
<?php
echo my_object_select_tag('department_id', 'department_id', DepartmentPeer::getParents(), array('related_class' => 'Department', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
<?php
echo form_error('department_id');
?>
<p style="font-size: 10px; margin-top: -7px; margin-left: 150px;">Pilih Tingkat</p>
<label style="width: 150px;">Kelas Pilihan *</label>
<?php
echo object_select_tag($applicant, 'getClassGroup1', array('related_class' => 'VClassGroup', 'include_blank' => true, 'peer_method' => 'doSelectAll'));
?>
<?php
echo observe_field('department_id', array('update' => 'class_group1', 'url' => 'applicant/selectByDept', 'with' => "'department_id='+\$('department_id').value"));
?>
<?php
echo form_error('class_group1');
?>
示例4: object_select_tag
echo object_select_tag($user, 'getUserGroupId', array('related_class' => 'UserGroup', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
<?php
echo form_error('user_group_id');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Department');
?>
</label></td>
<td width="3%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag($user, 'getDepartmentId', null, array('related_class' => 'Department', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
<?php
echo form_error('department_id');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label class="required" ><?php
echo __('Password');
?>
*</label></td>
<td width="3%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo object_input_tag($user, 'getPassword', array('size' => 40, 'maxlength' => 40, 'value' => '', 'type' => 'password'));
示例5: __
?>
<div class="tips"><?php
echo __('Untuk Calon Siswa Play Group / TK diisi dengan NA');
?>
</div>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label class="applicant"><?php
echo __('Sekolah Pilihan');
?>
*</label></td>
<td style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag($ng_test_applicant, 'getDepartmentId', DepartmentPeer::getParents(), array('related_class' => 'Department', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
<?php
echo form_error('department_id');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label class="applicant"><?php
echo __('Kelas Pilihan');
?>
*</label></td>
<td style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo select_tag('class_level_id', options_for_select($class_groups, $selected_class_group), array('include_blank' => true));
示例6: object_input_tag
echo object_input_tag($payment_model, 'getName', array('size' => 32, 'maxlength' => 255));
?>
<?php
echo form_error('name');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Parent');
?>
</label></td>
<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag($payment_model, 'getParent', $disabled, array('related_class' => 'PaymentModel', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
<?php
echo form_error('parent');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Description');
?>
</label></td>
<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo object_input_tag($payment_model, 'getDescription', array('size' => 64, 'maxlength' => 255));
示例7: object_input_tag
?>
</label><br/>
<?php
echo object_input_tag($class_group, 'getCode', array('size' => 40, 'maxlength' => 64));
?>
<?php
echo form_error('code');
?>
</td></tr>
<tr><td >
<label><?php
echo __('Parent');
?>
</label><br/>
<?php
echo my_object_select_tag($class_group, 'getParent', $disabled, array('related_class' => 'ClassGroup', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
<?php
echo form_error('parent');
?>
</td></tr>
<tr><td >
<label><?php
echo __('Name');
?>
</label><br/>
<?php
echo object_input_tag($class_group, 'getName', array('size' => 40, 'maxlength' => 255));
?>
<?php
echo form_error('name');
示例8: form_error
?>
<br />
<?php
#echo form_error('academic_calendar_id')
?>
</td>
</tr-->
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Department');
?>
</label></td>
<td style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag('academic_calendar_id', $score_rule->getAcademicCalendarId() ? $score_rule->getAcademicCalendarId() : '', DepartmentPeer::getParents(), array('related_class' => 'Department', 'include_blank' => true, 'peer_method' => 'doSelectFiltered', 'id' => 'academic_calendar_id', 'name' => 'academic_calendar_id'));
?>
<br>
<?php
echo form_error('academic_calendar_id');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Model Penilaian');
?>
</label></td>
<td style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
示例9: input_hidden_tag
echo input_hidden_tag('course_id', $course_schedule->getId());
echo input_hidden_tag('action_type', '');
?>
<table class="form">
<tr><td class="form">
<table class="form_content" width="100%">
<tbody>
<tr>
<td class="first" width="20%" style="vertical-align:middle;"><label><?php
echo __('Kategori');
?>
</label></td>
<td width="2%" class="first" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;" class="first">
<?php
echo my_object_select_tag($schedule, 'getGradeSpecId', GradeSpecPeer::getParents(), array('related_class' => 'VSpec', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
<?php
echo form_error('grade_spec_id');
?>
</td>
</tr>
<tr>
<td style="vertical-align:top;"><label><?php
echo __('Materi Ujian');
?>
</label></td>
<td style="text-align:center; vertical-align:top;">:</td>
<td style="vertical-align:top;">
<?php
echo object_textarea_tag($schedule, 'getDetail', array('size' => '50x3'));
示例10: form_error
<br />
<?php
echo form_error('academic_calendar_id');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Kelas / RomBel');
?>
</label></td>
<td style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag($counseling, 'getClassGroupId', ClassGroupPeer::getParents(), array('related_class' => 'ClassGroup', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
<?php
echo form_error('class_group_id');
?>
</td>
</tr>
<?php
if ($counsel_tutors) {
?>
<tr>
<td style="vertical-align:top;" colspan="3">
<table class="list">
<tr>
示例11: __
echo $location->getId();
?>
" />
<table class="form">
<tr><td class="form">
<table class="form_content" width="100%">
<tbody>
<tr>
<td class="first" style="vertical-align: middle;" width="25%"><label><?php
echo __('Ruang Ujian');
?>
</label></td>
<td class="first" width="2%" style="vertical-align:middle; text-align: center;">:</td>
<td class="first" style="vertical-align: middle;">
<?php
echo my_object_select_tag($location, 'getId', LocationPeer::getParents(), array('related_class' => 'Location', 'name' => 'location', 'id' => 'location', 'include_blank' => false, 'peer_method' => 'doFiltered', 'disabled' => true));
?>
</td>
</tr>
<tr>
<td style="vertical-align: middle;" ><label><?php
echo __('Pindah ke Ruang Ujian');
?>
</label></td>
<td width="2%" style="vertical-align:middle; text-align: center;">:</td>
<td style="vertical-align: middle;">
<?php
echo select_tag('location1', options_for_select($accal_options, '', array('related_class' => 'Location', 'include_blank' => true)));
?>
<?php
示例12: object_input_tag
?>
*</label><br/>
<?php
echo object_input_tag($job, 'getName', array('size' => 32, 'maxlength' => 64));
?>
<?php
echo form_error('name');
?>
</td></tr>
<tr><td>
<label ><?php
echo __('Parent');
?>
</label><br/>
<?php
echo my_object_select_tag($job, 'getParent', $disabled, array('related_class' => 'Job', 'include_blank' => 'true', 'text_method' => 'valueAsTree'));
?>
<?php
echo form_error('parent');
?>
</td></tr>
<tr><td>
<label ><?php
echo __('Display menu');
?>
</label><br/>
<?php
echo object_checkbox_tag($job, 'getDisplayMenu', array('size' => NULL, 'maxlength' => NULL));
?>
<?php
echo form_error('display_menu');
示例13: submit_image_tag
<tr class="list" id='filter' <?php
if (!isset($filters)) {
echo 'style=""';
}
?>
>
<td class='filter'><?php
echo submit_image_tag('/images/magnifier.png', array('class' => 'sort', 'onclick' => "blur();"));
?>
</td>
<td class='filter_first'><?php
echo object_select_tag(isset($filters['ACADEMIC_CALENDAR_ID']) ? $filters['ACADEMIC_CALENDAR_ID'] : null, null, array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'control_name' => 'filters[ACADEMIC_CALENDAR_ID]', 'peer_method' => 'doSelectFiltered', 'style' => 'width: 130px;'));
?>
</td>
<td class='filter'><?php
echo my_object_select_tag(isset($filters['CLASS_GROUP_ID']) ? $filters['CLASS_GROUP_ID'] : null, null, ClassGroupPeer::getParents(), array('include_blank' => true, 'related_class' => 'ClassGroup', 'control_name' => 'filters[CLASS_GROUP_ID]', 'peer_method' => 'doSelectFiltered'));
?>
</td>
<td class=''><?php
echo input_tag('filters[WEIGHT]', isset($filters['WEIGHT']) ? $filters['WEIGHT'] : null, array('size' => 5));
?>
</td>
<td class='filter'><?php
echo input_tag('filters[HEIGHT]', isset($filters['HEIGHT']) ? $filters['HEIGHT'] : null, array('size' => 5));
?>
</td>
<td class='filter'></td>
<td class='filter'></td>
<td class='filter'></td>
</tr>
</thead>
示例14: form_error
?>
<br />
<?php
echo form_error('name');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Department');
?>
</label></td>
<td style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag($academic_calendar, 'getDepartmentId', DepartmentPeer::getParents(), array('related_class' => 'Department', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
<br />
<?php
echo form_error('department_id');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Curriculum');
?>
</label></td>
<td style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
示例15: object_input_tag
echo object_input_tag($grade_spec, 'getCode', array('size' => 40, 'maxlength' => 64));
?>
<?php
echo form_error('code');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Parent');
?>
</label></td>
<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag($grade_spec, 'getParent', $disabled, array('related_class' => 'GradeSpec', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
<?php
echo form_error('parent');
?>
</td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Description');
?>
</label></td>
<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo object_input_tag($grade_spec, 'getDescription', array('size' => 80, 'maxlength' => 128));