Cache handler:
$e107cache = e107::getCache();
Retrieve cache:
if( $cacheData = $e107cache->retrieve('your_code')) { return $cacheData; }
Save cache:
$cache_data = ''; $cache_data = $text; $e107cache->set('your_code', $cache_data); return $cache_data;
System cache:
e107::getCache()->set_sys(params); e107::getCache()->retrieve_sys('params'); e107::getCache()->clear_sys();