function ctools_export_ui::edit_cache_get_key
Figure out what the cache key is for this object.
4 calls to ctools_export_ui::edit_cache_get_key()
- ctools_access_ruleset_ui::edit_form_context in ctools_access_ruleset/
plugins/ export_ui/ ctools_access_ruleset_ui.class.php - ctools_export_ui::edit_cache_clear in plugins/
export_ui/ ctools_export_ui.class.php - Clear the object cache for the currently edited item.
- ctools_export_ui::edit_cache_get in plugins/
export_ui/ ctools_export_ui.class.php - Retrieve the item currently being edited from the object cache.
- ctools_export_ui::edit_cache_set in plugins/
export_ui/ ctools_export_ui.class.php - Cache the item currently currently being edited.
File
-
plugins/
export_ui/ ctools_export_ui.class.php, line 1014
Class
- ctools_export_ui
- Base class for export UI.
Code
public function edit_cache_get_key($item, $op) {
$export_key = $this->plugin['export']['key'];
return $op == 'edit' ? $item->{$this->plugin['export']['key']} : "::{$op}";
}