本文整理汇总了PHP中DataForm::display方法的典型用法代码示例。如果您正苦于以下问题:PHP DataForm::display方法的具体用法?PHP DataForm::display怎么用?PHP DataForm::display使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DataForm
的用法示例。
在下文中一共展示了DataForm::display方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GradeBookResult
exit;
break;
case 'csv':
default:
$export = new GradeBookResult();
$export->exportCompleteReportCSV($printable_data);
exit;
break;
}
} else {
api_not_allowed(true);
}
}
$this_section = SECTION_COURSES;
if (isset($_GET['exportpdf'])) {
$export_pdf_form->display();
} else {
Display::display_header(get_lang('FlatView'));
}
if (isset($_GET['isStudentView']) && $_GET['isStudentView'] == 'false') {
DisplayGradebook::display_header_reduce_flatview($cat[0], $showeval, $showlink, $simple_search_form);
$flatviewtable->display();
} elseif (isset($_GET['selectcat']) && $_SESSION['studentview'] == 'teacherview') {
DisplayGradebook::display_header_reduce_flatview($cat[0], $showeval, $showlink, $simple_search_form);
// Table
$flatviewtable->display();
//@todo load images with jquery
echo '<div id="contentArea" style="text-align: center;" >';
$flatviewtable->display_graph_by_resource();
echo '</div>';
}
示例2:
Display::display_confirmation_message(get_lang('ImportOverWriteScore') . ' ' . $_GET['importoverwritescore']);
}
if (isset($_GET['import_user_error'])) {
$userinfo = api_get_user_info($_GET['import_user_error']);
Display::display_warning_message(get_lang('UserInfoDoesNotMatch') . ' ' . api_get_person_name($userinfo['firstname'], $userinfo['lastname']));
}
if (isset($_GET['allresdeleted'])) {
Display::display_confirmation_message(get_lang('AllResultDeleted'));
}
if (isset($_GET['import_score_error'])) {
$userinfo = api_get_user_info($_GET['import_score_error']);
Display::display_warning_message(get_lang('ScoreDoesNotMatch') . ' ' . api_get_person_name($userinfo['firstname'], $userinfo['lastname']));
}
if ($file_type == null) {
//show the result header
if (isset($export_result_form) && !isset($edit_res_form)) {
echo $export_result_form->display();
DisplayGradebook::display_header_result($eval[0], $currentcat[0]->get_id(), 1);
} else {
if (isset($import_result_form)) {
echo $import_result_form->display();
}
if (isset($edit_res_form)) {
echo $edit_res_form->toHtml();
}
DisplayGradebook::display_header_result($eval[0], $currentcat[0]->get_id(), 1);
}
// Letter-based scores are built from lib/results_data_generator.class.php::get_score_display()
$resulttable->display();
Display::display_footer();
}