本文整理汇总了PHP中Quota::items方法的典型用法代码示例。如果您正苦于以下问题:PHP Quota::items方法的具体用法?PHP Quota::items怎么用?PHP Quota::items使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Quota
的用法示例。
在下文中一共展示了Quota::items方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
?>
<span class="status"> </span>
<?php
echo $form->error($model, 'student_transaction_religion_id');
?>
</div>-->
</div>
<div class="row">
<div class="row-left">
<?php
echo $form->labelEx($model, 'student_transaction_quota_id');
?>
<?php
echo $form->dropDownList($model, 'student_transaction_quota_id', Quota::items(), array('empty' => '-----------Select---------', 'tabindex' => 19));
?>
<span class="status"> </span>
<?php
echo $form->error($model, 'student_transaction_quota_id');
?>
</div>
<!--<div class="row-right">
<?php
echo $form->labelEx($model, 'student_transaction_category_id');
?>
<?php
echo $form->dropDownList($model, 'student_transaction_category_id', Category::items(), array('empty' => '-----------Select---------', 'tabindex' => 20));
?>
<span class="status"> </span>
<?php
示例2: array
} else {
echo $form->dropDownList($model, 'fees_academic_term_name_id', array());
}
?>
<span class="status"> </span>
<?php
echo $form->error($model, 'fees_academic_term_name_id');
?>
</div>
<div class="row">
<?php
echo $form->labelEx($model, 'fees_quota_id');
?>
<?php
echo $form->dropDownList($model, 'fees_quota_id', Quota::items(), array('empty' => 'Select Quota'));
?>
<span class="status"> </span>
<?php
echo $form->error($model, 'fees_quota_id');
?>
</div>
<div class="row buttons">
<?php
echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save', array('class' => 'submit', 'name' => 'generate'));
?>
</div>
<?php
$this->endWidget();
示例3: array
</div>
<div class="row">
<?php
echo CHtml::label('Branch Name', '');
?>
<?php
echo CHtml::dropDownList('branch', null, Branch::items(), array('empty' => 'Select Branch', 'tabindex' => 1));
?>
<?php
echo CHtml::label('Quota', '');
?>
<?php
echo CHtml::dropDownList('quota', null, Quota::items(), array('empty' => 'Select Quota', 'tabindex' => 4));
?>
</div>
<?php
$org_id = Yii::app()->user->getState('org_id');
$acd = Yii::app()->db->createCommand()->select('*')->from('academic_term')->where('current_sem=1 and academic_term_organization_id=' . $org_id)->queryAll();
$period = array();
$acdterm = CHtml::listData($acd, 'academic_term_id', 'academic_term_name');
if (!empty($acdterm)) {
$pe_data = AcademicTermPeriod::model()->findByPk($acd[0]['academic_term_period_id']);
$period[$pe_data->academic_terms_period_id] = $pe_data->academic_term_period;
}
开发者ID:sharmarakesh,项目名称:edusec-college-management-system,代码行数:30,代码来源:studinfo_dyanamic_report_form1.php