acm_memory
public class acm_memory
| Field Summary | |
|---|---|
| mixed | |
| mixed | |
| mixed | |
| mixed | |
| mixed | |
| mixed | |
| Method Summary | |
|---|---|
| void | Set cache path |
| void | destroy(mixed var_name, str table) Destroy cache data |
| void | get(mixed var_name) Get saved cache object |
| void | load() Load global cache |
| void | purge() Purge cache data |
| void | put(mixed var_name, mixed var, int ttl) Put data into cache |
| void | remove_file(mixed filename, bool check) Removes/unlinks file |
| void | save() Save modified objects |
| void | sql_exists(mixed query_id) Ceck if a given sql query exist in cache |
| void | sql_fetchfield(mixed query_id, mixed field) Fetch a field from the current row of a cached database result (database) |
| void | sql_fetchrow(mixed query_id) Fetch row from cache (database) |
| void | sql_freeresult(mixed query_id) Free memory used for a cached database result (database) |
| void | sql_load(mixed query) Load cached sql query |
| void | sql_rowseek(mixed rownum, mixed query_id) Seek a specific row in an a cached database result (database) |
| void | sql_save(mixed query, mixed query_result, mixed ttl) Save sql query |
| void | tidy() Tidy cache |
| void | unload() Unload cache object |
public mixed $cache_dir = ''
public mixed $is_modified = false
public mixed $key_prefix = 2592000
public mixed $sql_row_pointer = array()
public mixed $sql_rowset = array()
public mixed $vars = array()
public void __construct()
Set cache path
public void destroy(mixed var_name, str table)
Destroy cache data
public void get(mixed var_name)
Get saved cache object
public void load()
Load global cache
public void purge()
Purge cache data
public void put(mixed var_name, mixed var, int ttl)
Put data into cache
public void remove_file(mixed filename, bool check)
Removes/unlinks file
public void save()
Save modified objects
public void sql_exists(mixed query_id)
Ceck if a given sql query exist in cache
public void sql_fetchfield(mixed query_id, mixed field)
Fetch a field from the current row of a cached database result (database)
public void sql_fetchrow(mixed query_id)
Fetch row from cache (database)
public void sql_freeresult(mixed query_id)
Free memory used for a cached database result (database)
public void sql_load(mixed query)
Load cached sql query
public void sql_rowseek(mixed rownum, mixed query_id)
Seek a specific row in an a cached database result (database)
public void sql_save(mixed query, mixed query_result, mixed ttl)
Save sql query
public void tidy()
Tidy cache
public void unload()
Unload cache object
ACM Abstract Memory Class