Contents
Login Register Wishes Forum About
Language Reference » pCache functions » flush
Help topics
Latest updates
2233d  replaceImageMapTitle
2233d  replaceImageMapValues
2233d  createFunctionSerie
2233d  setAbsicssaPosition
2233d  negateValues
Toolbox
  Download as PDF
  Print this page
  Share this page
  Create an account
  Feed the updates!
Google AdSense
flush - Clear the cache contents

This function allows you to flush the contents of the cache database. You can use it to do a mass cleanup of all the cached object.

Calling this function
flush()

There is no parameters.

Sample script

This will flush the whole cache contents.
 /* Include all the classes */ 
 include("class/pCache.class.php");

 /* Create the cache object */
 $myCache = new pCache();

 /* Flush the cache contents*/
 $myCache->flush();
Last updated on 08/24/2010 
by Jean-Damien 
Linked resources
Community comments
  No comments have been posted yet.
© Copyrights
Components used on this web site : Famfamfam icons has been made by Mark James, Rounded corners lite has been coded by Cameron Cooke and Tim Hutchison, SyntaxHighlighter has been written by Alex Gorbatchev. pChart and this web site have been created by Jean-Damien POGOLOTTI. This documentation contains 185 pages and 56 comments. 410 users have registered. This page has been rendered in 0,02 seconds. Wiki revision 1.37.