You are here

function ctools_export_ui::edit_cache_set in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 plugins/export_ui/ctools_export_ui.class.php \ctools_export_ui::edit_cache_set()

Cache the item currently currently being edited.

1 call to ctools_export_ui::edit_cache_set()
ctools_export_ui::edit_wizard_next in plugins/export_ui/ctools_export_ui.class.php
Wizard 'next' callback when using a wizard to edit an item.

File

plugins/export_ui/ctools_export_ui.class.php, line 947

Class

ctools_export_ui
Base class for export UI.

Code

function edit_cache_set($item, $op = 'edit') {
  ctools_include('object-cache');
  $name = $this
    ->edit_cache_get_key($item, $op);
  return $this
    ->edit_cache_set_key($item, $name);
}