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


PHP AcademicTermPeriod::items方法代码示例

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


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

示例1:

echo $form->label($model, 'fees_branch_id');
?>
		<?php 
echo $form->textField($model, 'fees_branch_id');
?>
	</div>
-->
	<div class="row">
		<?php 
echo $form->label($model, 'fees_academic_term_id');
?>
		<?php 
//echo $form->textField($model,'fees_academic_term_id');
?>
		<?php 
echo $form->dropDownList($model, 'fees_academic_term_id', AcademicTermPeriod::items());
?>
			 
	</div>
<!--
	<div class="row">
		<?php 
echo $form->label($model, 'fees_quota_id');
?>
		<?php 
echo $form->textField($model, 'fees_quota_id');
?>
	</div>
-->
	<div class="row buttons">
		<?php 
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:_search.php

示例2: array

?>
<span class="status">&nbsp;</span>
        <?php 
echo $form->error($model, 'student_transaction_category_id');
?>
	</div>-->
	

</div>
<div class="row">
	<div class="row-left">
        <?php 
echo $form->labelEx($model, 'student_academic_term_period_tran_id');
?>
	<?php 
echo $form->dropDownList($model, 'student_academic_term_period_tran_id', AcademicTermPeriod::items(), array('prompt' => '-----------Select-----------', 'tabindex' => 9, 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('dependent/getStudItemName'), 'update' => '#StudentTransaction_student_academic_term_name_id')));
?>
<span class="status">&nbsp;</span>
        <?php 
echo $form->error($model, 'student_academic_term_period_tran_id');
?>
	</div>
	<div class="row-right">
		<?php 
echo $form->labelEx($model, 'student_academic_term_name_id');
?>
		<?php 
$term = "Sem-" . $model->academic_term_name;
if (isset($model->student_academic_term_name_id)) {
    echo $form->dropDownList($model, 'student_academic_term_name_id', CHtml::listData(AcademicTerm::model()->findAll(array('condition' => 'academic_term_period_id=' . $model->student_academic_term_period_tran_id)), 'academic_term_id', 'academic_term_name'));
} else {
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:_tab1.php

示例3: array

$this->menu = array();
?>
<h1>Generating Student Postal Label</h1>
<div class="form">

<?php 
$form = $this->beginWidget('CActiveForm', array('id' => 'studentinfo-form', 'enableAjaxValidation' => true));
?>
	<p class="note"><span class="required"></span> </p>
	
	<div class="row">
		<?php 
echo CHtml::label('Term Period', '');
?>
		<?php 
echo CHtml::dropDownList('acdm_period', null, AcademicTermPeriod::items(), array('prompt' => '---------------Select-------------', 'tabindex' => 1, 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('dependent/getIdAcademicterm'), 'update' => '#acdm_name')));
?>
	</div>
	<div class="row">
		<?php 
echo CHtml::label('Term Name', '');
?>
		<?php 
echo CHtml::dropDownList('acdm_name', null, array('empty' => '---------------Select-------------'), array('tabindex' => 2));
?>
	</div>
	<div class="row">
		<?php 
echo CHtml::label('Branch', '');
?>
		<?php 
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:31,代码来源:postaladdress.php

示例4: array

	</div>
-->




	<div class="row">
	<div>
        <?php 
echo $form->labelEx($model, 'sem_id');
?>
        <?php 
//echo $form->dropDownList($model,'student_academic_term_period_tran_id',AcademicTermPeriod::items(), array('empty' => '-----------Select---------','tabindex'=>17));
?>
	<?php 
echo $form->dropDownList($model, 'sem_id', AcademicTermPeriod::items(), array('prompt' => '---------------Select-------------', 'tabindex' => 2, 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('Attendence/getItemName'), 'update' => '#Attendence_sem_name_id')));
?>
<span class="status">&nbsp;</span>
        <?php 
echo $form->error($model, 'sem_id');
?>
	</div>
	<div class="row">
		<?php 
echo $form->labelEx($model, 'sem_name_id');
?>
	        <?php 
//echo $form->dropDownList($model,'student_academic_term_name_id',array());
?>
		<?php 
if (isset($model->sem_name_id)) {
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:31,代码来源:update_form.php

示例5: array

?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'fees_branch_id');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'fees_academic_term_id');
?>
	        <?php 
//echo $form->dropDownList($model,'fees_academic_term_id',AcademicTermPeriod::items(), array('empty' => '----------Select--------'));
?>
		<?php 
echo $form->dropDownList($model, 'fees_academic_term_id', AcademicTermPeriod::items(), array('prompt' => 'Select Year', 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('dependent/getFeesmasterItemName'), 'update' => '#FeesMaster_fees_academic_term_name_id')));
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'fees_academic_term_id');
?>
	</div>
      
	<div class="row">
		<?php 
echo $form->labelEx($model, 'fees_academic_term_name_id');
?>
	        <?php 
//echo $form->dropDownList($model,'fees_academic_term_name_id',array());
?>
		<?php 
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:_form.php

示例6: array

echo $form->labelEx($model, 'student_archive_branch_id');
?>
		<?php 
echo $form->dropDownList($model, 'student_archive_branch_id', CHtml::listData(Branch::model()->findAll(array('condition' => 'branch_organization_id=' . Yii::app()->user->getState('org_id'))), 'branch_id', 'branch_name'), array('empty' => 'Select Branch', 'tabindex' => 1));
?>
		<?php 
echo $form->error($model, 'student_archive_branch_id');
?>
	</div>

	<div class="row">
        <?php 
echo $form->labelEx($model, 'student_archive_ac_t_p_id');
?>
	<?php 
echo $form->dropDownList($model, 'student_archive_ac_t_p_id', AcademicTermPeriod::items(), array('prompt' => 'Select Year', 'tabindex' => 2, 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('dependent/getStudentArchiveAcademicTerm'), 'update' => '#StudentArchiveTable_student_archive_ac_t_n_id')));
?>
<span class="status">&nbsp;</span>
        <?php 
echo $form->error($model, 'student_archive_ac_t_p_id');
?>
	</div>

	<div class="row">
		<?php 
echo $form->label($model, 'student_archive_ac_t_n_id');
?>
		<?php 
echo $form->dropDownList($model, 'student_archive_ac_t_n_id', array());
?>
	</div>
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:31,代码来源:_search.php

示例7: array

echo $form->error($model, 'shift_id');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'sem_id');
?>
		<?php 
//echo $form->textField($model,'sem_id');
?>
		<?php 
//echo $form->dropDownList($model,'sem_id', CHtml::listData(AcademicTermPeriod::model()->findAll(), 'academic_terms_period_id', 'academic_terms_period_name'));
?>
		<?php 
echo $form->dropDownList($model, 'sem_id', AcademicTermPeriod::items(), array('empty' => '-----------Select---------', 'tabindex' => 2));
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'sem_id');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'branch_id');
?>
		<?php 
//echo $form->textField($model,'branch_id');
?>
		<?php 
开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:31,代码来源:test.php

示例8: items

	


	<div class="row">
		<?php echo $form->labelEx($model,'student_notification_to'); ?>
			<?php //echo $form->dropDownList($model,'student_notification_to', User :: items(), array('empty' => '-----------Select---------')); ?>				<?php echo $form->dropDownList($model,'student_notification_to', CHtml::listData(User::model()->findAll(array('condition'=> 'user_type="student" and user_organization_id='.Yii::app()->user->getState('org_id'))),'user_id','user_organization_email_id')
,array('empty' => 'All Students')); ?><span class="status">&nbsp;</span>
	<?php echo $form->error($model,'student_notification_to'); ?>
	</div>


	<div class="row">
		<?php echo $form->labelEx($model,'student_notification_academic_period_id'); ?>
		<?php //echo $form->textField($model,'student_notification_academic_period_id');
	
			echo $form->dropDownList($model,'student_notification_academic_period_id',AcademicTermPeriod::items(),
			array(
			'prompt' => 'All Academic Year',
			'ajax' => array(
			'type'=>'POST', 
			'url'=>CController::createUrl('StudentNotification/getItemName'), 
			'update'=>'#StudentNotification_student_notification_academic_term_id', //selector to update
			
			))); 
		 ?>	 

		<?php echo $form->error($model,'student_notification_academic_period_id'); ?>
	</div>
		<div class="row">
		<?php echo $form->labelEx($model,'student_notification_academic_term_id'); ?>
开发者ID:rinodung,项目名称:EduSec3.0.0,代码行数:27,代码来源:_form.php

示例9: array

<div class="portlet box blue">
<i class="icon-reorder"></i>
 <div class="portlet-title"><span class="box-title">Select Criterias</span>
</div>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'attendence-form',
	'enableAjaxValidation'=>true,

)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>
	
	<?php echo $form->errorSummary($model); ?>		
	
	<div class="row">
		<?php echo $form->labelEx($model,'sem_id'); ?>
		<?php echo $form->dropDownList($model,'sem_id',AcademicTermPeriod::items(), array('empty' => 'Select Year','tabindex'=>1)); ?>
		
	</div>
	
	

<?php $this->endWidget(); ?>

</div><!-- form -->

</div>

开发者ID:rinodung,项目名称:EduSec3.0.0,代码行数:29,代码来源:chart_report.php

示例10: array

	'id'=>'certificate-generate',
	
)); ?>
	<div class="block-error">
		<?php echo Yii::app()->user->getFlash('no-student-found'); ?>
	</div>
	

	
	<div class="row">
		<?php echo CHtml::label('Certificate Type','');?>
		 <?php echo CHtml::dropDownList('certificate_type', null, Certificate::items(),array('empty'=>'----------Select----------','tabindex'=>1));?>
	</div>
	<div class="row">
		<?php echo CHtml::label('Academic Period','');?>
		 <?php echo CHtml::dropDownList('period',null,AcademicTermPeriod::items(),
			array(
			'prompt' => '----------Select-----------','tabindex'=>2,
			'ajax' => array(
			'type'=>'POST', 
			'url'=>CController::createUrl('dependent/getCertificateSem'), 
			'update'=>'#sem', //selector to update
			
			))); ?>
	</div>
	<div class="row">
		<?php echo CHtml::label('Semester','');?>
		 <?php echo CHtml::dropDownList('sem', null, array(),array('empty'=>'----------Select----------','tabindex'=>3));?>
	</div>
	<div class="row">
		<?php echo CHtml::label('Branch','');?>
开发者ID:rinodung,项目名称:EduSec3.0.0,代码行数:31,代码来源:multiple_certificate.php

示例11: array

?>
		<?php 
echo $form->dropDownList($model, 'student_transaction_branch_id', Branch::items(), array('empty' => 'Select Branch', 'tabindex' => 1));
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'student_transaction_branch_id');
?>
	</div>
	
	<div class="row">
		<?php 
echo $form->labelEx($model, 'student_academic_term_period_tran_id');
?>
		<?php 
echo $form->dropDownList($model, 'student_academic_term_period_tran_id', AcademicTermPeriod::items(), array('empty' => 'Select Year', 'tabindex' => 2));
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'student_academic_term_period_tran_id');
?>
	</div>



<div class="row buttons">
	<?php 
echo CHtml::submitButton('Search', array('class' => 'submit', 'name' => 'search', 'tabindex' => 3));
?>
</div>
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:30,代码来源:studinfo_dyanamic_report_form.php

示例12: array

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'student_archive_branch_id'); ?>
		<?php echo $form->dropDownList($model,'student_archive_branch_id',CHtml::listData(Branch::model()->findAll(),'branch_id','branch_name'),array('empty' => 'Select Branch','tabindex'=>1));?>
		<?php echo $form->error($model,'student_archive_branch_id'); ?>
	</div>

	<div class="row">
        <?php echo $form->labelEx($model,'student_archive_ac_t_p_id'); ?>
	<?php
			echo $form->dropDownList($model,'student_archive_ac_t_p_id',AcademicTermPeriod::items(),
			array(
			'prompt' => 'Select Year','tabindex'=>2,
			'ajax' => array(
			'type'=>'POST', 
			'url'=>CController::createUrl('dependent/getStudentArchiveAcademicTerm'), 
			'update'=>'#StudentArchiveTable_student_archive_ac_t_n_id', //selector to update
			
			))); 
			 
			?><span class="status">&nbsp;</span>
        <?php echo $form->error($model,'student_archive_ac_t_p_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'student_archive_ac_t_n_id'); ?>
开发者ID:rinodung,项目名称:EduSec3.0.0,代码行数:30,代码来源:_search.php


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