[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: staticCache

Source Location: /plugins/static_html_cache.php

Class staticCache

Property Summary
mixed   $startmtime  

[ Top ]
Method Summary
staticCache   staticCache()  
void   clearHTMLCache()   Cleans out the cache folder. (Adpated from the zenphoto image cache)
string   createCacheFilepath()   Creates the path and filename of the page to be cached.
void   deleteStaticCacheFile()   Deletes a cache file
void   endHTMLCache()   Ends the caching: Ends the output buffering and writes the html cache file from the buffer
void   getOptionsSupported()  
void   handleOption()  
void   startHTMLCache()   Starts the caching: Gets either an already cached file if existing or starts the output buffering.

[ Top ]
Properties
mixed   $startmtime [line 47]

[ Top ]
Methods
Constructor staticCache  [line 49]

  staticCache staticCache( )



[ Top ]
clearHTMLCache  [line 203]

  void clearHTMLCache( [ $folder = ''], string $cachefolder  )

Cleans out the cache folder. (Adpated from the zenphoto image cache)

Parameters:
string   $cachefolder:  the sub-folder to clean
   $folder: 


[ Top ]
createCacheFilepath  [line 128]

  string createCacheFilepath( )

Creates the path and filename of the page to be cached.



[ Top ]
deleteStaticCacheFile  [line 192]

  void deleteStaticCacheFile( string $cachefilepath  )

Deletes a cache file

Parameters:
string   $cachefilepath:  Path to the cache file to be deleted


[ Top ]
endHTMLCache  [line 105]

  void endHTMLCache( )

Ends the caching: Ends the output buffering and writes the html cache file from the buffer

Place this function on zenphoto's root index.php file in the absolute last line



[ Top ]
getOptionsSupported  [line 54]

  void getOptionsSupported( )



[ Top ]
handleOption  [line 62]

  void handleOption( $option, $currentValue  )

Parameters:
   $option: 
   $currentValue: 


[ Top ]
startHTMLCache  [line 76]

  void startHTMLCache( )

Starts the caching: Gets either an already cached file if existing or starts the output buffering.

Place this function on zenphoto's root index.php file in line 75 right after the plugin loading loop



[ Top ]

Documentation generated on Tue, 02 Dec 2008 21:23:57 +0100 by phpDocumentor 1.4.1