You are here

function _quiz_is_plain in Quiz 7

Same name and namespace in other branches
  1. 8.4 quiz.module \_quiz_is_plain()
  2. 6.4 quiz.module \_quiz_is_plain()
  3. 7.6 quiz.module \_quiz_is_plain()
  4. 7.4 quiz.module \_quiz_is_plain()
  5. 7.5 quiz.module \_quiz_is_plain()

Helper function used when validating plain text.

Parameters

$value: The value to be validated.

Return value

TRUE if plain text FALSE otherwise.

1 call to _quiz_is_plain()
quiz_settings_form_validate in ./quiz.admin.inc
Validation of the Form Settings form.

File

./quiz.module, line 4210
Quiz Module

Code

function _quiz_is_plain($value) {
  return $value === check_plain($value);
}