MDL-42299 course: management category expansion improvements

This commit is contained in:
Sam Hemelryk 2013-10-17 12:11:31 +13:00
parent d5de874727
commit df460b5a23
6 changed files with 73 additions and 8 deletions

View file

@ -196,4 +196,13 @@ $definitions = array(
'mode' => cache_store::MODE_APPLICATION,
'simplekeys' => true,
),
// This is the session user selections cache.
// It's a special cache that is used to record user selections that should persist for the lifetime of the session.
// Things such as which categories the user has expanded can be stored here.
// It uses simple keys and simple data, please ensure all uses conform to those two constraints.
'userselections' => array(
'mode' => cache_store::MODE_SESSION,
'simplekeys' => true,
'simpledata' => true
),
);