本文整理汇总了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();