芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/question/classes/bank/preview_action_column.php
. namespace core_question\bank; /** * Question bank columns for the preview action icon. * * @copyright 2009 Tim Hunt * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class preview_action_column extends action_column_base { public function get_name() { return 'previewaction'; } protected function display_content($question, $rowclasses) { global $PAGE; if (question_has_capability_on($question, 'use')) { echo $PAGE->get_renderer('core_question')->question_preview_link( $question->id, $this->qbank->get_most_specific_context(), false); } } }