WURFL_Storage
[ class tree: WURFL_Storage ] [ index: WURFL_Storage ] [ all elements ]

Class: WURFL_Storage_Mysql

Source Location: /Storage/Mysql.php

Class Overview

WURFL_Storage_Base
   |
   --WURFL_Storage_Mysql

WURFL Storage


Author(s):

  • Fantayeneh Asres Gizaw

Version:

  • $id$

Copyright:

  • ScientiaMobile, Inc.

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: WURFL_Storage_Base

WURFL_Storage_Base::__construct()
Creates a new WURFL_Storage_Base
WURFL_Storage_Base::cacheClear()
WURFL_Storage_Base::cacheLoad()
WURFL_Storage_Base::cacheRemove()
WURFL_Storage_Base::cacheSave()
WURFL_Storage_Base::clear()
Removes all entries from the Persistence Provider
WURFL_Storage_Base::decode()
Decode the Object Id
WURFL_Storage_Base::encode()
Encode the Object Id using the Persistence Identifier
WURFL_Storage_Base::isVolatile()
Returns true if the cache is an in-memory volatile cache, like Memcache or APC, or false if
WURFL_Storage_Base::isWURFLLoaded()
Checks if WURFL is Loaded
WURFL_Storage_Base::load()
Returns the object identified by $objectId
WURFL_Storage_Base::remove()
Removes the object identified by $objectId from the persistence provider
WURFL_Storage_Base::save()
Saves the object
WURFL_Storage_Base::setCacheStorage()
Sets the cache provider for the persistence provider; this is used to cache data in a volatile storage system like APC in front of a slow persistence provider like the filesystem.
WURFL_Storage_Base::setWURFLLoaded()
Sets the WURFL Loaded flag
WURFL_Storage_Base::supportsSecondaryCaching()
This storage provider supports a caching layer in front of it, for example, the File provider supports a volatile cache like Memcache in front of it, whereas APC does not.
WURFL_Storage_Base::validSecondaryCache()
This storage provider can be used as a secondary cache

Class Details

[line 23]
WURFL Storage



Tags:

author:  Fantayeneh Asres Gizaw
version:  $id$
copyright:  ScientiaMobile, Inc.


[ Top ]


Class Methods


constructor __construct [line 46]

WURFL_Storage_Mysql __construct( $params)



Tags:

access:  public


Overrides WURFL_Storage_Base::__construct() (Creates a new WURFL_Storage_Base)

Parameters:

   $params  

[ Top ]

method clear [line 130]

void clear( )



Tags:

access:  public


Overrides WURFL_Storage_Base::clear() (Removes all entries from the Persistence Provider)

[ Top ]

method load [line 110]

void load( $objectId)



Tags:

access:  public


Overrides WURFL_Storage_Base::load() (Returns the object identified by $objectId)

Parameters:

   $objectId  

[ Top ]

method save [line 92]

void save( $objectId, $object)



Tags:

access:  public


Overrides WURFL_Storage_Base::save() (Saves the object)

Parameters:

   $objectId  
   $object  

[ Top ]


Documentation generated on Fri, 30 Mar 2012 17:17:00 -0400 by phpDocumentor 1.4.4