Manual

cachecreator.class.php

Get cache for any part of mailing. Creates cached file and saves it into cache/mailing folder.

Usage:

{{lang:php}}
// INITIALIZATION AND USAGE
$cache = new CacheCreator(); //file, id, time
echo $cache->get_cache('mailing_template.php', 'some_unique_value', 60*60);  

// CLEAR
$cache->clear_cache();
Try myPortal 2: