You are here

function quiz_custom_action in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 quiz.actions.inc \quiz_custom_action()
  2. 6.3 quiz.actions.inc \quiz_custom_action()
  3. 6.4 quiz.actions.inc \quiz_custom_action()
  4. 7 quiz.actions.inc \quiz_custom_action()
  5. 7.4 quiz.actions.inc \quiz_custom_action()

This will be your custom action to perform. What do you want to happen? When creating your quiz and you select your custom_action you defined in quiz_action_info() then this function will be called to perform whatever you want to happen.

File

./quiz.actions.inc, line 57
Example Action Implementation.

Code

function quiz_custom_action() {

  //perform your action here
}