当前位置: 首页>>代码示例>>PHP>>正文


PHP ClassGroupPeer::getParents方法代码示例

本文整理汇总了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>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:absentSuccess.php

示例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>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listPhysicalSuccess.php


注:本文中的ClassGroupPeer::getParents方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。