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


PHP observe_field函数代码示例

本文整理汇总了PHP中observe_field函数的典型用法代码示例。如果您正苦于以下问题:PHP observe_field函数的具体用法?PHP observe_field怎么用?PHP observe_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: __

echo __('Receivable');
?>
</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
			<p id=receivable_disp>
				<?php 
#echo object_input_tag($payment_journal, '', array ( 'size' => 7,'readonly'=>1, 'name' => 'receivable', 'id' => 'receivable'))
?>
				<input type="text" name="receivable" value="" id="receivable" size="7" readonly="readonly"/>
            </p>
			<?php 
echo form_error('receivable');
?>
			<?php 
echo observe_field('paid', array('update' => 'receivable_disp', 'url' => 'payment_journal_ta/getReceivable2', 'with' => "'paid='+\$('paid').value+'&receivable1='+\$('receivable1').value"));
?>
		   </td>
        </tr>
        <tr>
           <td style="vertical-align:middle;"><label><?php 
echo __('Status');
?>
</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
           <?php 
echo select_tag('status', options_for_select(array(PaymentJournal::STATUS_SETTLED => __('_PAYMENT_STATUS_SETTLED_'), PaymentJournal::STATUS_PLUS => __('_PAYMENT_STATUS_PLUS_'), PaymentJournal::STATUS_MINUS => __('_PAYMENT_STATUS_MINUS_')), strlen($payment_journal->getStatus()) > 0 ? $payment_journal->getStatus() : null, array('include_blank' => false)));
?>
			<?php 
echo form_error('status');
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editLastSuccess.php

示例2: __

    <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>			

            </tbody>
            </table>
    </td></tr>
    </table>
    </form>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php

示例3: __

                                          <td class='first' width="15%" style="vertical-align: top;"><label><?php 
echo __('Kompetensi Penilaian');
?>
</label></td>
                                          <td class="first" width="1%" style="text-align: center; vertical-align: top;">:</td>
                                          <td class="first" style="vertical-align: top;">
                                                 <?php 
echo object_select_tag('grade_spec_id', 'grade_spec_id', array('related_class' => 'VSpec', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
                                                 <?php 
echo form_error('grade_spec_id');
?>
                                                 <div class="tips">Pilih Kompetensi Penilaian yang akan diberikan nilai</div> 
                                           </td>
                                    </tr>
                                    
                                    <tr>
                                            <td width="100%" colspan="3">
                                                    <div id='subject_list' style="overflow: auto; width: 100%; height: 135em; border: 1px solid #000;"></div>
                                                    <?php 
echo observe_field('grade_spec_id', array('update' => 'subject_list', 'url' => 'course_score/getDescHistory', 'with' => "'grade_spec_id='+\$('grade_spec_id').value+'&course_id='+\$('course_id').value+'&include_blank=true'", 'before' => "showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
                                            </td>
                                    </tr>
                                    
                          </tbody>
                          </table>

             </td></tr>
        </table>
        </form>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listDescHistorySuccess.php

示例4: use_helper

<?php

use_helper("Object", "Javascript");
?>
  <?php 
echo label_for('pasaje[fk_division_destino_id]', __('Division destino:'), 'class="required" ');
?>
  <?php 
echo select_tag('pasaje[fk_division_destino_id]', options_for_select($optionsDivisiones));
?>
  <?php 
echo observe_field('pasaje_fk_division_destino_id', array('update' => 'alumnos', 'url' => 'ciclolectivo/listarAlumnos', 'with' => "'division_id=' + \$('pasaje_fk_division_id').value +'&division_no_id=' + value", 'script' => "true", 'before' => "\$('indicator-wrapper').style.display='block'", 'complete' => "\$('indicator-wrapper').style.display='none'"));
开发者ID:mediasadc,项目名称:alba,代码行数:12,代码来源:cambiarCicloAjaxSuccess.php

示例5: use_helper

<?php

use_helper('Javascript');
$c = new Criteria();
$paises = PaisPeer::doSelect($c);
if ($organizacion->getFkProvinciaId()) {
    $pais_selected = $organizacion->getProvincia()->getPais()->getId();
    $provincia_id = $organizacion->getFkProvinciaId();
} else {
    $pais_selected = $paises[0]->getId();
    $provincia_id = 0;
}
echo select_tag('pais_id', objects_for_select(PaisPeer::getEnOrden(), 'getId', 'getNombreLargo', $pais_selected));
echo observe_field('pais_id', array('update' => 'item_provincia', 'url' => 'organizacion/cambiarPais', 'with' => "'pais_id=' + value"));
echo javascript_tag(remote_function(array('update' => 'item_provincia', 'url' => 'organizacion/cambiarPais?pais_id=' . $pais_selected . '&provincia_id=' . $provincia_id)));
开发者ID:mediasadc,项目名称:alba,代码行数:15,代码来源:_pais_id.php

示例6: __

                            <tbody>
                                <tr>
                                     <td class='first' style="vertical-align:top;">
                                         <label><?php 
echo __('Class group');
?>
</label><br>
                                         <?php 
echo select_tag('class_group_id', options_for_select($content, ''), array('include_blank' => true));
?>
                                         <div class="tips"><?php 
echo __('Tentukan Kelas yang inginkan');
?>
</div>
                                     </td>
                                </tr>
                                <tr>
                                     <td  style="vertical-align: top;" class="first">
                                        <div id='subject_list' style="overflow: auto; width: 100%; height: 100em;"></div>
                                        <?php 
echo observe_field('class_group_id', array('update' => 'subject_list', 'url' => 'extracurricular_new/addEksStu', 'with' => "'accal_id='+\$('accal_id').value+'&detail_id='+\$('detail_id').value+'&schedule_id='+\$('schedule_id').value+'&class_id='+\$('class_group_id').value+'&include_blank=true'", 'before' => "showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
                                     </td>   
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>    
            </table>    
        </td></tr>
</table>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:addStuSuccess.php

示例7: observe_field

		
		<tr>
			<td width="100%">
				<div id='detail_list' style="overflow: auto; width: 100%; height: 14em;"></div>
				<?php 
echo observe_field('academic_calendar_id', array('update' => 'detail_list', 'url' => 'student_info/getDetail', 'with' => "'academic_calendar_id='+\$('academic_calendar_id').value+'&student_id='+\$('student_id').value+'&include_blank=true'", 'before' => "showIndicator('detail_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
			</td>
		</tr>			

	</tbody>
	</table>
</td></tr>
</table>
</form>

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

示例8: __

echo __('Class group');
?>
</label><br/>
											<?php 
echo object_select_tag($counsel, 'getClassGroupId', array('related_class' => 'ClassGroup', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
  
											<div class="tips"><?php 
echo __('Pilih Kelas Asal Peserta Kelas yang akan dipilih');
?>
</div>    
                                    </td>
                                </tr>
								<tr>
                                    <td colspan="2" style="vertical-align:top;">
										<div id='student_list' style="overflow: auto; width: 100%; height: 120em;"></div>
                                        <?php 
echo observe_field('class_group_id', array('update' => 'student_list', 'url' => 'counselor_new/getStudent', 'with' => "'&accal_id='+\$('academic_calendar_id').value+'&counseling_id='+\$('counsel_id').value+'&class_id='+\$('class_group_id').value+'&include_blank=true'", 'before' => "showIndicator('student_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
									</td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </table>
		</td>
	</tr>		
</table>

开发者ID:taryono,项目名称:school,代码行数:29,代码来源:studentSuccess.php

示例9: __

                    <tr>
                        <td style="vertical-align:top;"><label ><?php 
echo __('Test Location');
?>
</label></td>
                        <td style="text-align:center; vertical-align:top;">:</td>
                        <td style="vertical-align:top;">
                            <?php 
echo select_tag('ng_test_schedule_id', options_for_select($ng_test_schedules, $selected_ng_test_schedules), array('include_blank' => true, 'size' => 5));
?>
                            <?php 
echo form_error('ng_test_schedule_id');
?>
                            <?php 
echo observe_field('ng_reg_test_period_id', array('update' => 'ng_test_schedule_id', 'url' => 'ng_reg_detail/selectSchedByPeriod', 'with' => "'ng_reg_test_period_id='+\$('ng_reg_test_period_id').value"));
?>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" style="vertical-align: top;">
                            <div id='subject_list' style="overflow: auto; width: 100%; height: 80em;"></div>
                            <?php 
echo observe_field('ng_test_schedule_id', array('update' => 'subject_list', 'url' => 'ng_reg_detail/getApplSched', 'with' => "'ng_reg_test_period_id='+\$('ng_reg_test_period_id').value+'&ng_test_schedule_id='+\$('ng_test_schedule_id').value+'&ng_reg_period_id='+\$('ng_reg_period_id').value+'&include_blank=true'", 'before' => "showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
                        </td>
                    </tr>
                </tbody>
            </table>
        </td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listTestSuccess.php

示例10: __

            </tr>
            <tr>
               <td style="vertical-align:top;"><label><?php 
echo __('Subject');
?>
</label></td>
               <td style="text-align:center; vertical-align:top;">:</td>
               <td style="vertical-align:top;">
                            <?php 
echo select_tag('course_schedule_id', options_for_select($courses, $class_counseling->getCourseScheduleId() ? $class_counseling->getCourseScheduleId() : ''), array('include_blank' => false));
?>
                            <?php 
echo form_error('course_schedule_id');
?>
                            <?php 
echo observe_field('class_group_id', array('update' => 'course_schedule_id', 'url' => 'course_counseling/selectByClass', 'with' => "'class_id='+\$('class_group_id').value+'&accal_id='+\$('academic_calendar_id').value+'&include_blank=true'"));
?>
               </td>
            </tr>
            <tr>
               <td style="vertical-align:top;"><label><?php 
echo __('Status');
?>
</label></td>
               <td style="text-align:center; vertical-align:top;">:</td>
               <td style="vertical-align:top;">
               <?php 
echo object_select_tag($class_counseling, 'getCounselingStatusId', array('related_class' => 'CounselingStatus', 'include_blank' => true));
?>
                       <?php 
echo form_error('counseling_status_id');
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editCounselingSuccess.php

示例11: __

?>
 </div>             
		   </td>
        </tr-->
    </tbody>
	</table>
</td></tr>
</table>        
<br />
<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
		<tr><td class='first'>
			<label><?php 
echo __('Student');
?>
</label>
			<div id='student_list' style="overflow: auto;width: 100%; height: 30em;border: 1px solid black;"></div>
			<?php 
echo observe_field('grade_spec_id', array('update' => 'student_list', 'url' => 'course_detail/getList', 'with' => "'course_id='+\$('course_schedule_id').value+'&grade_spec_id='+\$('grade_spec_id').value+'&include_blank=true'", 'before' => "showIndicator('student_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
        </td></tr>
	</tbody>
	</table>
</td></tr>
</table>

</td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listScoreSuccess.php

示例12: __

            <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%">
                            <div id='subject_list' style="overflow: auto; width: 100%; height: 50em;"></div>
                            <?php 
echo observe_field('academic_calendar_id', array('update' => 'subject_list', 'url' => 'rpt_counseling/getCounseling', 'with' => "'academic_calendar_id='+\$('academic_calendar_id').value+'&include_blank=true'", 'before' => "showIndicator('subject_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
                        </td>
                    </tr>			

                </tbody>
            </table>
        </td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:listSuccess.php

示例13: __

		</td></tr>
		<tr><td >
			<label ><?php 
echo __('Receivable');
?>
</label><br/>
			<p id=receivable_disp>
				<?php 
echo object_input_tag($payment_journal, 'getReceivable', array('size' => 7, 'readonly' => 1));
?>
			</p>
			<?php 
echo form_error('receivable');
?>
			<?php 
echo observe_field('paid', array('update' => 'receivable_disp', 'url' => 'payment_journal/getReceivable', 'with' => "'paid='+\$('paid').value+'&amount='+\$('amount').value"));
?>
		</td><td >
			<label><?php 
echo __('Status');
?>
</label><br/>
			<?php 
echo select_tag('status', options_for_select(array(PaymentJournal::STATUS_SETTLED => __('_PAYMENT_STATUS_SETTLED_'), PaymentJournal::STATUS_PLUS => __('_PAYMENT_STATUS_PLUS_'), PaymentJournal::STATUS_MINUS => __('_PAYMENT_STATUS_MINUS_')), strlen($payment_journal->getStatus()) > 0 ? $payment_journal->getStatus() : null, array('include_blank' => false)));
?>
			<?php 
echo form_error('status');
?>
		</td></tr>
		<tr><td>
			<label ><?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例14: observe_field

			<?php 
echo observe_field('subject_accal_id', array('update' => 'class_group_id', 'url' => 'class_group/selectBySubjectAccal', 'with' => "'class_group_id='+\$('class_group_id').value+'&subject_accal_id='+\$('subject_accal_id').value", 'before' => "showIndicator('class_group_id', 'barsmall_white');", 'complete' => "hideIndicator();"));
?>
			<p class="tips" style="padding-top: 2px;">&nbsp;&nbsp;&nbsp;<a style="background: #C5E300;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> = <?php 
echo __('Schedule defined');
?>
</p>
		</td></tr>
		<tr><td colspan="2" valign="top">
			<label><?php 
echo __('Course schedule');
?>
</label><br/>
			<?php 
echo select_tag('schedule_list', options_for_select($schedules, '', array('include_blank' => false)), array('multiple' => true, 'size' => count($schedules) > 10 ? 15 : 10, 'disabled' => true));
?>
			<?php 
echo observe_field('class_group_id', array('update' => 'schedule_list', 'url' => 'course_schedule_s/getSchedules', 'with' => "'class_group_id='+\$('class_group_id').value+'&subject_accal_id='+\$('subject_accal_id').value", 'before' => "showIndicator('schedule_list', 'barsmall_white');", 'complete' => "hideIndicator()"));
echo observe_field('subject_accal_id', array('update' => 'schedule_list', 'url' => 'course_schedule_s/getSchedules', 'with' => "'class_group_id='+\$('class_group_id').value+'&subject_accal_id='+\$('subject_accal_id').value", 'before' => "showIndicator('schedule_list', 'barsmall_white');", 'complete' => "hideIndicator()"));
?>
			<p class="tips">&nbsp;&nbsp;&nbsp;<?php 
echo __('room capacity') . ' # ' . __('lector') . ' # ' . __('location') . ' # ' . __('day') . ' # ' . __('class session');
?>
</p>
		</td></tr>
	</tbody>
	</table>
</td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:editSuccess.php

示例15: form_error

echo form_error('class_group_id');
?>
		   </td>
        </tr>
    </tbody>
	</table>
</td></tr>
</table>        
<br />
<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
		<tr><td class='first'>
			<label><?php 
echo __('Student');
?>
</label>
			<div id='student_list' style="overflow: auto;width: 100%; height: 30em;border: 1px solid black;"></div>
			<?php 
echo observe_field('class_group_id', array('update' => 'student_list', 'url' => 'course_ekskul/getList', 'with' => "'class_group_id='+\$('class_group_id').value+'&include_blank=true'", 'before' => "showIndicator('student_list', 'snakebig_black');", 'complete' => "hideIndicator();"));
?>
        </td></tr>
	</tbody>
	</table>
</td></tr>
</table>

</td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php


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