本文整理匯總了PHP中flexible_table::finish_html方法的典型用法代碼示例。如果您正苦於以下問題:PHP flexible_table::finish_html方法的具體用法?PHP flexible_table::finish_html怎麽用?PHP flexible_table::finish_html使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類flexible_table
的用法示例。
在下文中一共展示了flexible_table::finish_html方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
}
}
$data = array();
$data[] = $userinfo;
if ($emarking->type == EMARKING_TYPE_MARKER_TRAINING || $emarking->type == EMARKING_TYPE_PEER_REVIEW && $issupervisor) {
$data[] = $markersstring;
}
if ($emarking->type == EMARKING_TYPE_ON_SCREEN_MARKING || $emarking->type == EMARKING_TYPE_PEER_REVIEW) {
$data[] = $finalgrade;
}
$data[] = $pctmarked . ($draft->answerkey ? $OUTPUT->pix_icon('i/badge', get_string('answerkey', 'mod_emarking')) : '');
$data[] = $actions;
$data[] = $selectdraft;
$showpages->add_data($data, $draft->answerkey ? "alert-success" : "");
}
$showpages->finish_html();
?>
<style>
.scol, .generaltable td {
vertical-align: middle;
}
</style>
<?php
if ($usercangrade) {
?>
<script type="text/javascript">
$('#select_all').change(function() {
var checkboxes = $('#emarking-main').find(':checkbox');
if($(this).is(':checked')) {
console.log('jelou guorld true');
checkboxes.prop('checked', true);
示例2: array
$visibletd .= create_image_tag($OUTPUT->pix_url('i/hide'), 'hidden');
$visibletd .= $lockedimagetag;
} else {
$visibletd .= create_form($OUTPUT, $currentmodule->name . "_visible_form", $selfpath, $strhide, 'hide', array('module_name' => $currentmodule->name, 'visible' => 'false', 'sesskey' => sesskey()));
}
} else {
if ($islocked) {
$visibletd .= create_image_tag($OUTPUT->pix_url('i/show'), 'visible');
$visibletd .= $lockedimagetag;
} else {
$visibletd .= create_form($OUTPUT, $currentmodule->name . "_visible_form", $selfpath, $strhide, 'show', array('module_name' => $currentmodule->name, 'visible' => 'true', 'sesskey' => sesskey()));
$class = ' class="dimmed_text"';
}
}
}
}
$tabledata = array('<span' . $class . '>' . $strmodulename . '</span>');
if ($haseditvisibilitycapability or $haseditsettingscapability) {
$tabledata[] = $overridevaluetd;
$tabledata[] = $visibletd;
$tabledata[] = $overridetd;
$tabledata[] = $lockedtd;
$tabledata[] = $cleartd;
}
if ($haseditsettingscapability) {
$tabledata[] = $settingstd;
}
$table->add_data($tabledata);
}
$table->finish_html();
echo $OUTPUT->footer();