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


PHP AcademicCalendarPeer::getParents方法代码示例

本文整理汇总了PHP中AcademicCalendarPeer::getParents方法的典型用法代码示例。如果您正苦于以下问题:PHP AcademicCalendarPeer::getParents方法的具体用法?PHP AcademicCalendarPeer::getParents怎么用?PHP AcademicCalendarPeer::getParents使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AcademicCalendarPeer的用法示例。


在下文中一共展示了AcademicCalendarPeer::getParents方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: include_partial

echo include_partial('global/title', array('type' => 'list', 'title' => __('Admin Penilaian'), 'actions' => $actions, 'subtitle' => $subtitle . ($sf_request->haserrors() ? '<div class=form_error>* ' . __('_form_has_error_') . '</div>' : '')));
echo input_hidden_tag('employee_id', $employee->getid());
?>
    <table class="form" width="100%">
    <tr>
    <td class="form" style="vertical-align:top;">
            <table class="form_content" width="100%">
            <tbody>
                    <tr>
                            <td class='first' width="100%" style="vertical-align:top;">
                                    <label><?php 
echo __('Academic calendar');
?>
</label><br/>
                                            <?php 
echo my_object_select_tag($counseling, 'getAcademicCalendarId', AcademicCalendarPeer::getParents(), array('related_class' => 'AcademicCalendar', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
<br />
                                    <div class="tips">pilih tahun ajaran yang diinginkan</div>    
                            </td>
                    </tr>

                    <tr>
                            <td width="100%" class="first">
                                    <div id='subject_list' style="overflow: auto; width: 100%; height: 50em;"></div>
                                    <?php 
echo observe_field('academic_calendar_id', array('update' => 'subject_list', 'url' => 'score_admin/getSubject', 'with' => "'academic_calendar_id='+\$('academic_calendar_id').value+'&employee_id='+\$('employee_id').value+'&include_blank=true'", 'before' => "showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
                            </td>
                    </tr>			
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:listSuccess.php

示例2: __

<tr>
	<td width="39%" valign="top">
	<!-- Course Schedule -->
	<table class="form">
	<tr><td class="form">
		<table class="form_content" width="100%">
			<tbody>
				<tr>
          				<td class='first' width="25%" style="vertical-align:top;"><label><?php 
echo __('Academic calendar');
?>
</label></td>
           				<td class="first" width="2%" style="text-align:center; vertical-align:top;">:</td>
					<td class="first" style="vertical-align:top;">
					<?php 
echo my_object_select_tag($course_schedule, 'getAcademicCalendarId', AcademicCalendarPeer::getParents(), array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'peer_method' => 'doSelectFiltered'));
?>
            				<?php 
echo form_error('academic_calendar_id');
?>
            				</td>
        			</tr>
        
        			<tr>
        				<td style="vertical-align:middle;"><label><?php 
echo __('Class group');
?>
</label></td>
            				<td style="text-align:center; vertical-align:middle;">:</td>
					<td style="vertical-align:middle;">
					<?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:createSuccess.php

示例3: submit_image_tag

					
                		</tr>
				<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 my_object_select_tag(isset($filters['ACADEMIC_CALENDAR_ID']) ? $filters['ACADEMIC_CALENDAR_ID'] : null, null, AcademicCalendarPeer::getParents(), array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'control_name' => 'filters[ACADEMIC_CALENDAR_ID]', 'peer_method' => 'doSelectFiltered', 'style' => 'width: 80px;'));
?>
					</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'>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:listSuccess.php


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