You are here

function _quiz_get_quiz_name in Quiz 7

Same name and namespace in other branches
  1. 8.6 quiz.module \_quiz_get_quiz_name()
  2. 8.4 quiz.module \_quiz_get_quiz_name()
  3. 8.5 quiz.module \_quiz_get_quiz_name()
  4. 5.2 quiz.module \_quiz_get_quiz_name()
  5. 5 quiz.module \_quiz_get_quiz_name()
  6. 6.6 quiz.module \_quiz_get_quiz_name()
  7. 6.2 quiz.module \_quiz_get_quiz_name()
  8. 6.3 quiz.module \_quiz_get_quiz_name()
  9. 6.4 quiz.module \_quiz_get_quiz_name()
  10. 6.5 quiz.module \_quiz_get_quiz_name()
  11. 7.6 quiz.module \_quiz_get_quiz_name()
  12. 7.4 quiz.module \_quiz_get_quiz_name()
  13. 7.5 quiz.module \_quiz_get_quiz_name()

Get the quiz name variable and set it as a constant so we don't have to keep calling it in every function.

Return value

Quiz name variable.

1 call to _quiz_get_quiz_name()
quiz.module in ./quiz.module
Quiz Module

File

./quiz.module, line 3648
Quiz Module

Code

function _quiz_get_quiz_name() {

  // @todo: remove all the quiz_name stuff? Isn't there better ways to do this?
  return variable_get('quiz_name', 'Quiz');
}