myPortal CMS - the web design community
  • MyPortal 2.0
  • download
  • demo
  • manual
  • editor
  • faq
  • blog
  • forum

free account: Click here
Username: Password:

Manual

cachecreator.class.php

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

Usage:

// 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: