function ctools_ajax_sample_cache_set in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 ctools_ajax_sample/ctools_ajax_sample.module \ctools_ajax_sample_cache_set()
Store our little cache so that we can retain data from form to form.
1 call to ctools_ajax_sample_cache_set()
- ctools_ajax_sample_wizard_next in ctools_ajax_sample/
ctools_ajax_sample.module - Handle the 'next' click on the add/edit pane form wizard.
File
- ctools_ajax_sample/
ctools_ajax_sample.module, line 485 - Sample AJAX functionality so people can see some of the CTools AJAX features in use.
Code
function ctools_ajax_sample_cache_set($id, $object) {
ctools_include('object-cache');
ctools_object_cache_set('ctools_ajax_sample', $id, $object);
}