function accessibility_test_load

cis7 accessibility.module accessibility_test_load($test_id = NULL, $reset = FALSE)
cle7 accessibility.module accessibility_test_load($test_id = NULL, $reset = FALSE)
elmsmedia7 accessibility.module accessibility_test_load($test_id = NULL, $reset = FALSE)
icor7 accessibility.module accessibility_test_load($test_id = NULL, $reset = FALSE)
meedjum_blog7 accessibility.module accessibility_test_load($test_id = NULL, $reset = FALSE)
mooc7 accessibility.module accessibility_test_load($test_id = NULL, $reset = FALSE)

Loads a single accessibility test.

4 calls to accessibility_test_load()
accessibility_get_active_tests in sites/all/modules/ulmus/accessibility/accessibility.module
Helper function to return all active accessibiliy test entities.
accessibility_test_delete_form_submit in sites/all/modules/ulmus/accessibility/accessibility.module
Submit callback for model_delete_form
accessibility_test_features_export_render in sites/all/modules/ulmus/accessibility/accessibility.features.inc
Implements hook[component]_features_export_render().
accessibility_wysiwyg_tinymce_view_errors in sites/all/modules/ulmus/accessibility/modules/accessibility_wysiwyg/accessibility_wysiwyg.module
Menu callback to render out accessibility errors.

File

sites/all/modules/ulmus/accessibility/accessibility.module, line 156

Code

function accessibility_test_load($test_id = NULL, $reset = FALSE) {
  $ids = (isset($test_id) ? array($test_id) : array());
  $test = accessibility_test_load_multiple($ids, $reset);
  return $test ? reset($test) : FALSE;
}