- Description
-
Class trees
Index of elements
Todo List
Interfaces
Phpfox_Cache_Interface
Phpfox_Database_Interface
Phpfox_Gateway_Interface
Phpfox_Image_Interface
Phpfox_Mail_Interface
Classes
Database_Driver_Mssql
Database_Driver_Oracle
Database_Driver_Postgres
Database_Driver_Sqlite
Phpfox
Phpfox_Ajax
Phpfox_Api
Phpfox_Archive
Phpfox_Archive_Export
Phpfox_Archive_Extension_Tar
Phpfox_Archive_Extension_Xml
Phpfox_Archive_Extension_Zip
Phpfox_Archive_Import
Phpfox_Archive_Support
Phpfox_Cache
Phpfox_Cache_Abstract
Phpfox_Cache_Storage_File
Phpfox_Cache_Storage_Memcache
Phpfox_Cdn
Phpfox_Cdn_Abstract
Phpfox_Cdn_Module_S3
Phpfox_Component
Phpfox_Cron
Phpfox_Database
Phpfox_Database_Dba
Phpfox_Database_Driver_Mysql
Phpfox_Database_Driver_Mysqli
Phpfox_Database_Export
Phpfox_Database_Support
Phpfox_Date
Phpfox_Debug
Phpfox_Diff_Md5
Phpfox_Editor
Phpfox_Error
Phpfox_File
Phpfox_File_Minimize
Phpfox_Ftp
Phpfox_Gateway
Phpfox_Gateway_Api_2checkout
Phpfox_Gateway_Api_Paypal
Phpfox_Hash
Phpfox_Image
Phpfox_Image_Abstract
Phpfox_Image_Helper
Phpfox_Image_Library_Gd
Phpfox_Locale
Phpfox_Mail
Phpfox_Mail_Driver_Phpmailer_Mail
Phpfox_Mail_Driver_Phpmailer_Smtp
Phpfox_Module
Phpfox_Pager
Phpfox_Parse_Bbcode
Phpfox_Parse_Css
Phpfox_Parse_Format
Phpfox_Parse_Input
Phpfox_Parse_Output
Phpfox_Parse_Wiki
Phpfox_Plugin
Phpfox_Process
Phpfox_Request
Phpfox_Search
Phpfox_Search_Inline
Phpfox_Server
Phpfox_Service
Phpfox_Session
Phpfox_Session_Handler
Phpfox_Session_Handler_Default
Phpfox_Session_Handler_File
Phpfox_Session_Handler_Memcache
Phpfox_Session_Storage_Cookie
Phpfox_Session_Storage_Session
Phpfox_Setting
Phpfox_Spam
Phpfox_Spam_Hash
Phpfox_Template
Phpfox_Url
Phpfox_Validator
Phpfox_Xml_Builder
Phpfox_Xml_Parser
Functions
d
e
p
Files
2checkout.class.php
abstract.class.php
abstract.class.php
abstract.class.php
ajax.class.php
api.class.php
archive.class.php
bbcode.class.php
builder.class.php
cache.class.php
cdn.class.php
component.class.php
cookie.class.php
cron.class.php
css.class.php
database.class.php
date.class.php
dba.class.php
debug.class.php
default.class.php
editor.class.php
error.class.php
export.class.php
export.class.php
file.class.php
file.class.php
file.class.php
format.class.php
ftp.class.php
gateway.class.php
gd.class.php
handler.class.php
hash.class.php
hash.class.php
helper.class.php
image.class.php
import.class.php
inline.class.php
input.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
locale.class.php
mail.class.php
mail.class.php
md5.class.php
memcache.class.php
memcache.class.php
minimize.class.php
module.class.php
mssql.class.php
mysql.class.php
mysqli.class.php
oracle.class.php
output.class.php
pager.class.php
parser.class.php
paypal.class.php
phpfox.class.php
plugin.class.php
postgres.class.php
process.class.php
request.class.php
s3.class.php
search.class.php
server.class.php
service.class.php
session.class.php
session.class.php
setting.class.php
smtp.class.php
spam.class.php
sqlite.class.php
support.class.php
support.class.php
tar.class.php
template.class.php
url.class.php
validator.class.php
wiki.class.php
xml.class.php
zip.class.php
Template-
Classes
Phpfox_Template_Cache
Files
cache.class.php
Phpfox_Cache_Storage_Memcache
Memcached Cache Layer - This class handles the cache routine for phpFox and can store arrays, strings and objects. All the data is stored in memcached which has a unique id. Data is also serilazed before its stored.
Located in /include/library/phpfox/cache/storage/memcache.class.php (line 18)
Phpfox_Cache_Abstract | --Phpfox_Cache_Storage_Memcache
array
$_aCached
= array() (line 39)
Array of all the cache data we have saved.
array
$_aName
= array() (line 25)
Array of all the cache files we have saved.
bool
$_bFromMemory
= false (line 47)
Set this to true and we will force the system to get the information from a memory based caching system (eg. memcached)
bool
$_bSkipClose
= false (line 56)
By default we always close a cache call automatically, however at times you may need to close it at a later time and setting this to true will skip closing the closing of the cache reference.
object
$_oDb
= null (line 32)
Memcached object
Inherited Variables
Inherited from Phpfox_Cache_Abstract
Phpfox_Cache_Abstract::$_aParams
Phpfox_Cache_Abstract::$_aStats
Constructor __construct (line 62)
We open up a connection to each of the memcached servers.
- Phpfox_Cache_Abstract::__construct()
- Load all the custom params in a protected variable array.
close (line 233)
Close the cache connection.
- string $sId: ID of the cache file we plan on closing the connection with.
get (line 118)
We attempt to get the cache file. Also used within an IF conditional statment to check if the file has already been cached.
- string $sId: Unique ID of the file we need to get. This is what is returned from when you use the set() method.
- int $iTime: By default this is left blank, however you can identify how long a file should be cached before it needs to be updated in minutes.
getCachedFiles (line 347)
Gets all the cache files and returns information about the cache file to stats.
- array $aConds: SQL conditions (not used anymore)
- string $sSort: Sorting the cache files
- int $iPage: Current page we are on
- string $sLimit: Limit of how many files to display
isCached (line 317)
Checks if a file is cached or not.
- string $sId: Unique ID of the cache file.
- string $iTime: By default no timestamp check is done, howver you can pass an int to check how many minutes a file can be cached before it must be recached.
remove (line 246)
Removes cache file(s).
- string $sName: Name of the cache file we need to remove.
- string $sType: Pass an optional command to execute a specific routine.
save (line 201)
Save data to the cache.
- string $sId: Unique ID connecting to the cache file based by the method set()
- string $mContent: Content you plan on saving to cache. Can be bools, strings, ints, objects, arrays etc...
set (line 80)
Sets the name of the cache.
- string $sName: Unique fill name of the cache.
- string $sGroup: Optional param to identify what group the cache file belongs to
skipClose (line 102)
By default we always close a cache call automatically, however at times you may need to close it at a later time and setting this to true will skip closing the closing of the cache reference.
- bool $bClose: True to skip the closing of the connection
_getName (line 374)
Returns the name of the cache file. Memcached does nothing special here so we just return the file name.
- string $sFile: File name of the cache
Inherited Methods
Inherited From Phpfox_Cache_Abstract
Phpfox_Cache_Abstract::__construct()
Phpfox_Cache_Abstract::getAll()
Phpfox_Cache_Abstract::getData()
Phpfox_Cache_Abstract::getStatic()
Phpfox_Cache_Abstract::getStats()
Phpfox_Cache_Abstract::lock()
Phpfox_Cache_Abstract::removeInfo()
Phpfox_Cache_Abstract::removeStatic()
Phpfox_Cache_Abstract::saveInfo()
Phpfox_Cache_Abstract::unlock()
Phpfox_Cache_Abstract::_getParam()
Documentation generated on Tue, 28 Sep 2010 10:36:41 +0200 by phpDocumentor 1.4.0a2