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;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.