[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/inc/ -> class_datacache.php (summary)

(no description)

File Size: 1375 lines (31 kb)
Included or required: 5 times
Referenced: 0 times
Includes or requires: 10 files
 inc/functions_rebuild.php
 inc/cachehandlers/xcache.php
 inc/cachehandlers/disk.php
 inc/cachehandlers/apcu.php
 inc/cachehandlers/redis.php
 inc/cachehandlers/memcache.php
 inc/cachehandlers/eaccelerator.php
 inc/cachehandlers/interface.php
 inc/cachehandlers/memcached.php
 inc/cachehandlers/apc.php

Defines 1 class

datacache:: (47 methods):
  cache()
  read()
  update()
  delete()
  debug_call()
  size_of()
  update_version()
  update_attachtypes()
  update_smilies()
  update_posticons()
  update_badwords()
  update_usergroups()
  update_forumpermissions()
  build_forum_permissions()
  update_stats()
  update_statistics()
  update_moderators()
  sort_moderators_by_usernames()
  update_awaitingactivation()
  build_moderators()
  update_forums()
  update_usertitles()
  update_reportedcontent()
  update_mycode()
  update_mailqueue()
  update_update_check()
  update_default_theme()
  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()
  update_profilefields()
  update_reportreasons()
  reload_mostonline()
  reload_plugins()
  reload_last_backup()
  reload_internal_settings()
  reload_version_history()
  reload_modnotes()
  reload_adminnotes()


Class: datacache  - X-Ref

MyBB 1.8
Copyright 2014 MyBB Group, All Rights Reserved

Website: http://www.mybb.com
License: http://www.mybb.com/about/license
cache()   X-Ref
Build cache data.

read($name, $hard=false)   X-Ref
Read cache from files or db.
return: mixed
param: string $name The cache component to read.
param: boolean $hard If true, cannot be overwritten during script execution.

update($name, $contents)   X-Ref
Update cache contents.
param: string $name The cache content identifier.
param: mixed $contents The cache content.

delete($name, $greedy = false)   X-Ref
Delete cache contents.
Originally from frostschutz's PluginLibrary
github.com/frostschutz

param: string $name Cache name or title
param: boolean $greedy To delete a cache starting with name_

debug_call($string, $qtime, $hit)   X-Ref
Debug a cache call to a non-database cache handler
param: string $string The cache key
param: string $qtime The time it took to perform the call.
param: boolean $hit Hit or miss status

size_of($name='')   X-Ref
Select the size of the cache
return: integer the size of the cache
param: string $name The name 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: bool When failed, returns false.

build_forum_permissions($permissions=array()   X-Ref
Build the forum permissions array
param: array $permissions An optional permissions array.
param: int $pid 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_statistics()   X-Ref
Update the statistics cache

update_moderators()   X-Ref
Update the moderators cache.
return: bool Returns false on failure

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

update_awaitingactivation()   X-Ref
Update the users awaiting activation cache.

build_moderators($moderators=array()   X-Ref
Build the moderators array
param: array $moderators An optional moderators array (moderators of the parent forum for example).
param: int $pid An optional parent ID.

update_forums()   X-Ref
Update the forums cache.

update_usertitles()   X-Ref
Update usertitles cache.

update_reportedcontent()   X-Ref
Update reported content cache.

update_mycode()   X-Ref
Update mycode cache.

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

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

update_default_theme()   X-Ref
Update default_theme cache

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


update_birthdays()   X-Ref
No description

update_groupleaders()   X-Ref
No description

update_threadprefixes()   X-Ref
No description

update_forumsdisplay()   X-Ref
No description

update_profilefields()   X-Ref
Update profile fields cache.

update_reportreasons($no_plugins = false)   X-Ref
Update the report reasons cache.

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

reload_modnotes()   X-Ref
No description

reload_adminnotes()   X-Ref
No description



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref