You are here

function quiz_rid_load in Quiz 7

Same name and namespace in other branches
  1. 7.6 quiz.module \quiz_rid_load()
  2. 7.4 quiz.module \quiz_rid_load()
  3. 7.5 quiz.module \quiz_rid_load()

Result_id, menu argument loader.

File

./quiz.module, line 856
Quiz Module

Code

function quiz_rid_load($rid) {
  return !empty($rid) && is_numeric($rid) ? $rid : 0;
}