function ctools_export_load_object_reset

cis7 export.inc ctools_export_load_object_reset($table = NULL)
cle7 export.inc ctools_export_load_object_reset($table = NULL)
elmsmedia7 export.inc ctools_export_load_object_reset($table = NULL)
icor7 export.inc ctools_export_load_object_reset($table = NULL)
meedjum_blog7 export.inc ctools_export_load_object_reset($table = NULL)
mooc7 export.inc ctools_export_load_object_reset($table = NULL)

Reset all static caches in ctools_export_load_object() or static caches for a given table in ctools_export_load_object().

Parameters

$table: String that is the name of a table. If not defined, all static caches in ctools_export_load_object() will be reset.

14 calls to ctools_export_load_object_reset()
boxes_box::reset in sites/all/modules/ulmus/boxes/plugins/boxes_box.inc
Reset the boxes cache.
breakpoints_admin_breakpoint_group_duplicate_form_submit in sites/all/modules/local_contrib/breakpoints/breakpoints.admin.inc
Duplicate group form submit.
breakpoints_breakpoint_delete_by_fullkey in sites/all/modules/local_contrib/breakpoints/breakpoints.module
Delete a single breakpoint.
breakpoints_breakpoint_group_delete_by_fullkey in sites/all/modules/local_contrib/breakpoints/breakpoints.module
Delete a single breakpoint group by fullkey.
breakpoints_breakpoint_group_save in sites/all/modules/local_contrib/breakpoints/breakpoints.module
Save a single breakpoint group.

... See full list

File

sites/all/modules/ulmus/ctools/includes/export.inc, line 576
Contains code to make it easier to have exportable objects.

Code

function ctools_export_load_object_reset($table = NULL) {
  // Reset plugin cache to make sure new include files are picked up.
  ctools_include('plugins');
  ctools_get_plugins_reset();
  if (empty($table)) {
    drupal_static_reset('ctools_export_load_object');
    drupal_static_reset('ctools_export_load_object_all');
    drupal_static_reset('_ctools_export_get_defaults');
  }
  else {
    $cache = &drupal_static('ctools_export_load_object');
    $cached_database = &drupal_static('ctools_export_load_object_all');
    $cached_defaults = &drupal_static('_ctools_export_get_defaults');
    unset($cache[$table]);
    unset($cached_database[$table]);
    unset($cached_defaults[$table]);
  }
}
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.