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


PHP AcademicTerm::items方法代码示例

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


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

示例1: array

?>

</div>
<?php 
$form = $this->beginWidget('CActiveForm', array('id' => 'book-search-form', 'htmlOptions' => array('enctype' => 'multipart/form-data')));
?>

<?php 
$dataProvider = $model->search();
if (Yii::app()->user->getState("pageSize", @$_GET["pageSize"])) {
    $pageSize = Yii::app()->user->getState("pageSize", @$_GET["pageSize"]);
} else {
    $pageSize = Yii::app()->params['pageSize'];
}
$dataProvider->getPagination()->setPageSize($pageSize);
$this->widget('ext.selgridview.SelGridView', array('id' => 'student-transaction-grid', 'dataProvider' => $dataProvider, 'filter' => $model, 'selectableRows' => 2, 'columns' => array(array('class' => 'CCheckBoxColumn'), array('name' => 'student_enroll_no', 'value' => '$data->Rel_Stud_Info->student_enroll_no'), array('name' => 'student_roll_no', 'value' => '$data->Rel_Stud_Info->student_roll_no'), array('name' => 'student_first_name', 'value' => '$data->Rel_Stud_Info->student_first_name'), array('name' => 'student_last_name', 'value' => '$data->Rel_Stud_Info->student_last_name'), array('name' => 'student_transaction_branch_id', 'value' => 'Branch::item($data->student_transaction_branch_id)', 'filter' => Branch::items()), array('name' => 'student_academic_term_period_tran_id', 'value' => 'AcademicTermPeriod::model()->findByPk($data->student_academic_term_period_tran_id)->academic_term_period', 'filter' => CHtml::listData(AcademicTermPeriod::model()->findAll(array('condition' => 'academic_terms_period_organization_id=' . Yii::app()->user->getState('org_id'))), 'academic_terms_period_id', 'academic_term_period')), array('name' => 'student_academic_term_name_id', 'value' => 'AcademicTerm::item($data->student_academic_term_name_id)', 'filter' => AcademicTerm::items()), array('name' => 'quota_name', 'value' => '$data->Rel_Quota->quota_name'), array('name' => 'student_dtod_regular_status', 'value' => '$data->Rel_Stud_Info->student_dtod_regular_status'), array('name' => 'status_name', 'value' => '$data->Rel_Status->status_name')), 'pager' => array('class' => 'AjaxList', 'maxButtonCount' => $model->count(), 'header' => '')));
?>

<!--<div class="send-sms-email-div">
 <?php 
echo CHtml::button('Send SMS/Email', array('name' => 'btnsend', 'class' => 'send-all-button', 'submit' => array('DoChacked')));
?>
</div>-->
<?php 
echo CHtml::hiddenField('selectedstudentid');
echo CHtml::button('Compose', array('id' => 'submitbtn', 'submit' => array('Messageform')));
$this->endWidget();
?>


开发者ID:sharmarakesh,项目名称:EduSec2.0.0,代码行数:28,代码来源:notify.php


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