本文整理汇总了PHP中ClassGroupPeer::getParents方法的典型用法代码示例。如果您正苦于以下问题:PHP ClassGroupPeer::getParents方法的具体用法?PHP ClassGroupPeer::getParents怎么用?PHP ClassGroupPeer::getParents使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ClassGroupPeer
的用法示例。
在下文中一共展示了ClassGroupPeer::getParents方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: 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>
示例2: 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>