本文整理汇总了PHP中GradeSpecPeer::getParents方法的典型用法代码示例。如果您正苦于以下问题:PHP GradeSpecPeer::getParents方法的具体用法?PHP GradeSpecPeer::getParents怎么用?PHP GradeSpecPeer::getParents使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GradeSpecPeer
的用法示例。
在下文中一共展示了GradeSpecPeer::getParents方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __
</label></td>
<td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
<td class="first" style="vertical-align:middle;"><p class="detail"><?php
echo $course_schedule->getAcademicCalendar() ? $course_schedule->getAcademicCalendar()->toString() : '-';
?>
</p></td>
</tr>
<tr>
<td style="vertical-align:middle;"><label><?php
echo __('Kategori Penilaian');
?>
</label></td>
<td style="text-align:center; vertical-align:middle;">:</td>
<td style="vertical-align:middle;">
<?php
echo my_object_select_tag('grade_spec_id', 'grade_spec_id', GradeSpecPeer::getParents(), array('related_class' => 'GradeSpec', 'include_blank' => true, 'peer_method' => 'doFiltered'));
?>
<?php
echo form_error('grade_spec_id');
?>
<div class="tips">Pilih Kategori Penilaian yang akan diberikan nilai</div>
</td>
</tr>
</tbody>
</table>
</td></tr>
</table>
</td></tr>
<tr>
<td colspan="3">
示例2: input_date_tag
</td>
<td class='filter'><?php
echo input_date_tag('filters[DATE]', isset($filters['DATE']) ? $filters['DATE'] : null, array('rich' => true, 'calendar_button_img' => '/images/calendar.gif'));
?>
</td>
<td class='filter'>
<?php
echo input_tag('filters[SUBJECT_NAME]', isset($filters['SUBJECT_NAME']) ? $filters['SUBJECT_NAME'] : null, array('size' => 15));
?>
</td>
<td class='filter'>
<?php
echo my_object_select_tag(isset($filters['GRADE_SPEC_ID']) ? $filters['GRADE_SPEC_ID'] : null, null, GradeSpecPeer::getParents(), array('include_blank' => true, 'related_class' => 'VSpec', 'peer_method' => 'doSelectOrdered', 'control_name' => 'filters[GRADE_SPEC_ID]', 'style' => 'width: 100px;'));
?>
</td>
<td class='filter'>
<?php
echo input_tag('filters[EMPLOYEE_NAME]', isset($filters['EMPLOYEE_NAME']) ? $filters['EMPLOYEE_NAME'] : null, array('size' => 15));
?>
</td>
<td class='filter'><?php
echo input_tag('filters[CODE_CLASS]', isset($filters['CODE_CLASS']) ? $filters['CODE_CLASS'] : null, array('size' => 7));
?>
</td>
<td class='filter'>
示例3: 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'));