Ubiquity  2.3.10
php rapid development framework
TableCache Class Reference

Cache Ubiquity$TableCache This class is part of Ubiquity. More...

+ Inheritance diagram for TableCache:

Public Member Functions

 store ($tableName, $condition, $result)
 
 getCache ($tableName)
 
 fetch ($tableName, $condition)
 
 delete ($tableName, $condition)
 
- Public Member Functions inherited from DbCache
 __construct ()
 
 store ($tableName, $condition, $result)
 Caches the given data with the given key (tableName+md5(condition)). More...
 
 fetch ($tableName, $condition)
 Fetches data stored for the given condition in table. More...
 
 delete ($tableName, $condition)
 Deletes the entry corresponding to $condition apply to $table. More...
 
 clear ($matches="")
 
 remove ($key)
 
 setActive ($value=true)
 

Protected Member Functions

 getArrayCache ($tableName)
 
- Protected Member Functions inherited from DbCache
 getKey ($query)
 

Protected Attributes

 $arrayCache
 
- Protected Attributes inherited from DbCache
 $cache
 
 $config
 

Additional Inherited Members

- Static Public Attributes inherited from DbCache
static $active = false
 

Detailed Description

Cache Ubiquity$TableCache This class is part of Ubiquity.

Author
jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
Version
1.0.0

Definition at line 16 of file TableCache.php.

Member Function Documentation

◆ delete()

delete (   $tableName,
  $condition 
)

Definition at line 49 of file TableCache.php.

◆ fetch()

fetch (   $tableName,
  $condition 
)

Definition at line 40 of file TableCache.php.

◆ getArrayCache()

getArrayCache (   $tableName)
protected

Definition at line 31 of file TableCache.php.

◆ getCache()

getCache (   $tableName)

Definition at line 25 of file TableCache.php.

◆ store()

store (   $tableName,
  $condition,
  $result 
)

Definition at line 19 of file TableCache.php.

Field Documentation

◆ $arrayCache

$arrayCache
protected

Definition at line 17 of file TableCache.php.


The documentation for this class was generated from the following file: