You are here

class QuizQuestionBroken in Quiz 7.5

Hierarchy

Expanded class hierarchy of QuizQuestionBroken

1 string reference to 'QuizQuestionBroken'
_quiz_question_get_instance in question_types/quiz_question/quiz_question.module
Get an instance of a quiz question.

File

question_types/quiz_question/quiz_question.core.inc, line 948
Classes used in the Quiz Question module.

View source
class QuizQuestionBroken extends QuizQuestion {

  /**
   * @see QuizQuestion::getCreationForm()
   */
  public function getCreationForm(array &$form_state = NULL) {
  }

  /**
   * @see QuizQuestion::getMaximumScore()
   */
  public function getMaximumScore() {
  }

  /**
   * @see QuizQuestion::saveNodeProperties()
   */
  public function saveNodeProperties() {
  }

  /**
   * @see QuizQuestion::validateNode()
   */
  public function validateNode(array &$form) {
  }

  /**
   * @see QuizQuestion::hasFeedback()
   */
  public function hasFeedback() {
    return FALSE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
QuizQuestion::$node public property The current node for this question.
QuizQuestion::$nodeProperties public property
QuizQuestion::autoUpdateMaxScore protected function This may be overridden in subclasses. If it returns true, it means the max_score is updated for all occurrences of this question in quizzes.
QuizQuestion::delete public function Delete question data from the database. 6
QuizQuestion::getAnsweringForm public function Get the form through which the user will answer the question. 8
QuizQuestion::getAnsweringFormValidate public function Validate a user's answer. 6
QuizQuestion::getBodyFieldTitle public function Allow question types to override the body field title. 4
QuizQuestion::getFormat protected function Utility function that returns the format of the node body.
QuizQuestion::getNodeForm public function Returns a node form to quiz_question_form.
QuizQuestion::getNodeProperties public function Getter function returning properties to be loaded when the node is loaded. 6
QuizQuestion::getNodeView public function Retrieve information relevant for viewing the node. 6
QuizQuestion::hasBeenAnswered public function Finds out if a question has been answered or not.
QuizQuestion::isGraded public function Is this question graded? 2
QuizQuestion::isQuestion public function Is this "question" an actual question? 2
QuizQuestion::save public function Responsible for handling insert/update of question-specific data.
QuizQuestion::saveRelationships public function Save this Question to the specified Quiz.
QuizQuestion::viewCanRevealCorrect public function Determines if the user can view the correct answers.
QuizQuestion::__construct public function QuizQuestion constructor stores the node object. 1
QuizQuestionBroken::getCreationForm public function Overrides QuizQuestion::getCreationForm
QuizQuestionBroken::getMaximumScore public function Overrides QuizQuestion::getMaximumScore
QuizQuestionBroken::hasFeedback public function Overrides QuizQuestion::hasFeedback
QuizQuestionBroken::saveNodeProperties public function Overrides QuizQuestion::saveNodeProperties
QuizQuestionBroken::validateNode public function Overrides QuizQuestion::validateNode