phpDocumentor cache
[ class tree: cache ] [ index: cache ] [ all elements ]

Class: Cache

Source Location: /myphp-1.9/myphp-1.9-cache/html/util/Cache.php

Class Cache

Class Overview

The simple Cache system in the myPHP

  1. Usage:
  2. $html = '';
  3. Cache::start();
  4. echo "print something";
  5. : :
  6. $html .= Cache::contents();
  7. Cache::end();
  8. echo $html;
  9. Or
  10. Cache::save();
  11. Or
  12. Cache::read();

Located in /myphp-1.9/myphp-1.9-cache/html/util/Cache.php [line 36]



		
		
		
		

Methods

[ Top ]
Method Summary
Cache   Cache()   Constructor
void   contents()   Return the Output Buffered Cached Contents
void   end()   End and clean up the Output Buffered Cache
boolean   isValid()   Check, if this is Valid cache conditions
String   read()   Read the Cache File name and terminate, if read
String   save()   Save the Cache File name
void   start()   Start the Output Buffered Cache

[ Top ]
Methods
Constructor Cache  [line 41]

  Cache Cache( )

Constructor



[ Top ]
contents  [line 140]

  void contents( )

Return the Output Buffered Cached Contents

  1. Usage:
  2. $html = Cache::contents();


API Tags:
Static:  


[ Top ]
end  [line 152]

  void end( )

End and clean up the Output Buffered Cache

  1. Usage:
  2. Cache::end();


API Tags:
Static:  


[ Top ]
isValid  [line 48]

  boolean isValid( )

Check, if this is Valid cache conditions


API Tags:
Return:  true, if is Valid cache conditions


[ Top ]
read  [line 71]

  String read( )

Read the Cache File name and terminate, if read

  1. Usage:
  2. $html = Cache::read();


API Tags:
Return:  Nothing
Static:  


[ Top ]
save  [line 99]

  String save( )

Save the Cache File name

  1. Usage:
  2. $rc = Cache::save();


API Tags:
Return:  TODO
Static:  


[ Top ]
start  [line 128]

  void start( )

Start the Output Buffered Cache

  1. Usage:
  2. Cache::start();


API Tags:
Static:  


[ Top ]

Documentation generated on Thu, 22 Dec 2005 17:03:07 +0100 by phpDocumentor 1.3.0RC3