[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> class_datacache.php (summary)

(no description)

File Size: 947 lines (22 kb)
Included or required: 6 times
Referenced: 0 times
Includes or requires: 5 files
 inc/functions_rebuild.php
 inc/cachehandlers/xcache.php
 inc/cachehandlers/eaccelerator.php
 inc/cachehandlers/memcache.php
 inc/cachehandlers/disk.php

Defines 1 class

datacache:: (38 methods):
  cache()
  read()
  update()
  size_of()
  update_version()
  update_attachtypes()
  update_smilies()
  update_posticons()
  update_badwords()
  update_usergroups()
  update_forumpermissions()
  build_forum_permissions()
  update_stats()
  update_moderators()
  sort_moderators_by_usernames()
  build_moderators()
  update_forums()
  update_usertitles()
  update_reportedposts()
  update_mycode()
  update_mailqueue()
  update_update_check()
  update_tasks()
  update_bannedips()
  update_bannedemails()
  update_spiders()
  update_most_replied_threads()
  update_most_viewed_threads()
  update_banned()
  update_birthdays()
  update_groupleaders()
  update_threadprefixes()
  update_forumsdisplay()
  reload_mostonline()
  reload_plugins()
  reload_last_backup()
  reload_internal_settings()
  reload_version_history()


Class: datacache  - X-Ref

MyBB 1.6
Copyright 2010 MyBB Group, All Rights Reserved

Website: http://mybb.com
License: http://mybb.com/about/license

$Id$
cache()   X-Ref
Build cache data.


read($name, $hard=false)   X-Ref
Read cache from files or db.

param: string The cache component to read.
param: boolean If true, cannot be overwritten during script execution.
return: unknown

update($name, $contents)   X-Ref
Update cache contents.

param: string The cache content identifier.
param: string The cache content.

size_of($name='')   X-Ref
Select the size of the cache

param: string The name of the cache
return: integer the size of the cache

update_version()   X-Ref
Update the MyBB version in the cache.


update_attachtypes()   X-Ref
Update the attachment type cache.


update_smilies()   X-Ref
Update the smilies cache.


update_posticons()   X-Ref
Update the posticon cache.


update_badwords()   X-Ref
Update the badwords cache.


update_usergroups()   X-Ref
Update the usergroups cache.


update_forumpermissions()   X-Ref
Update the forum permissions cache.

return: false When failed, returns false.

build_forum_permissions($permissions=array()   X-Ref
Build the forum permissions array

param: array An optional permissions array.
param: int An optional permission id.

update_stats()   X-Ref
Update the stats cache (kept for the sake of being able to rebuild this cache via the cache interface)


update_moderators()   X-Ref
Update the moderators cache.


sort_moderators_by_usernames($a, $b)   X-Ref
No description

build_moderators($moderators=array()   X-Ref
Build the moderators array

param: array An optional moderators array (moderators of the parent forum for example).
param: int An optional parent ID.

update_forums()   X-Ref
Update the forums cache.


update_usertitles()   X-Ref
Update usertitles cache.


update_reportedposts()   X-Ref
Update reported posts cache.


update_mycode()   X-Ref
Update mycode cache.


update_mailqueue($last_run=0, $lock_time=0)   X-Ref
Update the mailqueue cache


update_update_check()   X-Ref
Update update_check cache (dummy function used by upgrade/install scripts)


update_tasks()   X-Ref
Updates the tasks cache saving the next run time


update_bannedips()   X-Ref
Updates the banned IPs cache


update_bannedemails()   X-Ref
Updates the banned emails cache


update_spiders()   X-Ref
Updates the search engine spiders cache


update_most_replied_threads()   X-Ref
No description

update_most_viewed_threads()   X-Ref
No description

update_banned()   X-Ref
No description

update_birthdays()   X-Ref
No description

update_groupleaders()   X-Ref
No description

update_threadprefixes()   X-Ref
No description

update_forumsdisplay()   X-Ref
No description

reload_mostonline()   X-Ref
No description

reload_plugins()   X-Ref
No description

reload_last_backup()   X-Ref
No description

reload_internal_settings()   X-Ref
No description

reload_version_history()   X-Ref
No description



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1