From 155cf6aeea9ba7ecbc39face6442d3ce1b03ad8e Mon Sep 17 00:00:00 2001 From: Nils Schwabe Date: Wed, 4 Jun 2014 14:27:03 +0200 Subject: Add webinterface with functionallity --- management-interface/lib/api/classCache.html | 314 +++++++++++++++++++++++++++ 1 file changed, 314 insertions(+) create mode 100644 management-interface/lib/api/classCache.html (limited to 'management-interface/lib/api/classCache.html') diff --git a/management-interface/lib/api/classCache.html b/management-interface/lib/api/classCache.html new file mode 100644 index 0000000..b605084 --- /dev/null +++ b/management-interface/lib/api/classCache.html @@ -0,0 +1,314 @@ + + + + + + + +Fat-Free Framework: Cache Class Reference + + + + + + +
+
+ + + + + + +
+
Fat-Free Framework +  3.2.2 +  Overview Class List Hierarchy +
+
+
+ + +
+
+
+Public Member Functions | +Public Attributes | +Protected Attributes | +List of all members
+
+
Cache Class Reference
+
+
+ +

Cache engine. + More...

+
+ + Inheritance diagram for Cache:
+
+
+ + + + + + + + + + + + + + + + + +

+Public Member Functions

 exists ($key, &$val=NULL)
 
 set ($key, $val, $ttl=0)
 
 get ($key)
 
 clear ($key)
 
 reset ($suffix=NULL, $lifetime=0)
 
 load ($dsn)
 
 __construct ($dsn=FALSE)
 
+ + + + + + + +

+Public Attributes

$prefix
 Prefix for cache entries.
 
$ref
 MemCache or Redis object.
 
+ + + + +

+Protected Attributes

$dsn
 Cache DSN.
 
+ + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Prefab
static instance ()
 
+

Detailed Description

+

Cache engine.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
Cache::__construct ( $dsn = FALSE)
+
+

Class constructor

+
Returns
object
+
Parameters
+ + +
$dsnbool|string
+
+
+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + +
Cache::clear ( $key)
+
+

Delete cache entry

+
Returns
bool
+
Parameters
+ + +
$keystring
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Cache::exists ( $key,
$val = NULL 
)
+
+

Return timestamp and TTL of cache entry or FALSE if not found

+
Returns
array|FALSE
+
Parameters
+ + + +
$keystring
$valmixed
+
+
+ +
+
+ +
+
+ + + + + + + + +
Cache::get ( $key)
+
+

Retrieve value of cache entry

+
Returns
mixed|FALSE
+
Parameters
+ + +
$keystring
+
+
+ +
+
+ +
+
+ + + + + + + + +
Cache::load ( $dsn)
+
+

Load/auto-detect cache backend

+
Returns
string
+
Parameters
+ + +
$dsnbool|string
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
Cache::reset ( $suffix = NULL,
 $lifetime = 0 
)
+
+

Clear contents of cache backend

+
Returns
bool
+
Parameters
+ + + +
$suffixstring
$lifetimeint
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
Cache::set ( $key,
 $val,
 $ttl = 0 
)
+
+

Store value in cache

+
Returns
mixed|FALSE
+
Parameters
+ + + + +
$keystring
$valmixed
$ttlint
+
+
+ +
+
+
The documentation for this class was generated from the following file: +
-- cgit v1.2.3-55-g7522