}
}
+ /**
+ * @param $names
+ */
static function registerAndRetrieveSessionObjects($names) {
if (!is_array($names)) {
$names = array($names);
CRM_Core_BAO_Cache::restoreSessionFromCache($names);
}
+ /**
+ * @param bool $reset
+ */
static function storeSessionObjects($reset = TRUE) {
if (empty(self::$_managedNames)) {
return;
return $session->get('userID');
}
+ /**
+ * @return bool
+ */
function isEmpty() {
// check if session is empty, if so we dont cache
// stuff that we can get away with