[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/includes/acm/ -> acm_memory.php (summary)

(no description)

Copyright: (c) 2005 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id$
File Size: 439 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

acm_memory:: (19 methods):
  acm_memory()
  load()
  unload()
  save()
  tidy()
  get()
  put()
  purge()
  destroy()
  _exists()
  sql_load()
  sql_save()
  sql_exists()
  sql_fetchrow()
  sql_fetchfield()
  sql_rowseek()
  sql_freeresult()
  remove_file()
  _isset()


Class: acm_memory  - X-Ref

ACM Abstract Memory Class

acm_memory()   X-Ref
Set cache path


load()   X-Ref
Load global cache


unload()   X-Ref
Unload cache object


save()   X-Ref
Save modified objects


tidy()   X-Ref
Tidy cache


get($var_name)   X-Ref
Get saved cache object


put($var_name, $var, $ttl = 2592000)   X-Ref
Put data into cache


purge()   X-Ref
Purge cache data


destroy($var_name, $table = '')   X-Ref
Destroy cache data


_exists($var_name)   X-Ref
Check if a given cache entry exist


sql_load($query)   X-Ref
Load cached sql query


sql_save($query, &$query_result, $ttl)   X-Ref
Save sql query


sql_exists($query_id)   X-Ref
Ceck if a given sql query exist in cache


sql_fetchrow($query_id)   X-Ref
Fetch row from cache (database)


sql_fetchfield($query_id, $field)   X-Ref
Fetch a field from the current row of a cached database result (database)


sql_rowseek($rownum, $query_id)   X-Ref
Seek a specific row in an a cached database result (database)


sql_freeresult($query_id)   X-Ref
Free memory used for a cached database result (database)


remove_file($filename, $check = false)   X-Ref
Removes/unlinks file


_isset($var)   X-Ref
Check if a cache var exists

param: string $var Cache key
return: bool True if it exists, otherwise false



Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1