You are here

function _quiz_get_quiz_name in Quiz 5

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. 6.6 quiz.module \_quiz_get_quiz_name()
  6. 6.2 quiz.module \_quiz_get_quiz_name()
  7. 6.3 quiz.module \_quiz_get_quiz_name()
  8. 6.4 quiz.module \_quiz_get_quiz_name()
  9. 6.5 quiz.module \_quiz_get_quiz_name()
  10. 7.6 quiz.module \_quiz_get_quiz_name()
  11. 7 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 for use as a constant so we don't have to keep calling for 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 1480
Quiz Module

Code

function _quiz_get_quiz_name() {
  return variable_get('quiz_name', 'Quiz');
}