Login Register Wishes Forum About
Language Reference » pCache functions » flush
Help topics
Latest updates
4669d  replaceImageMapTitle
4669d  replaceImageMapValues
4669d  createFunctionSerie
4669d  setAbsicssaPosition
4669d  negateValues
  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

There is no parameters.

Sample script

This will flush the whole cache contents.
 /* Include all the classes */ 

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

 /* Flush the cache contents*/
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. 415 users have registered. This page has been rendered in 0,01 seconds. Wiki revision 1.37.