/** * Actions that can be performed on the question by this user (e.g. edit or preview). * @param object $question containst the data to display. * @return string contents of this table cell. */ protected function col_actions($question) { if (property_exists($question, 'actions') && $question->actions) { return offlinequiz_question_action_icons($this->offlinequiz, $this->cmid, $question, $this->baseurl); } else { return ''; } }
/** * Actions that can be performed on the question by this user (e.g. edit or preview). * @param object $question containst the data to display. * @return string contents of this table cell. */ protected function col_actions($question) { return offlinequiz_question_action_icons($this->offlinequiz, $this->cmid, $question, $this->baseurl); }