Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_DeveloperGarden_SecurityTokenServer_Cache Class Reference

Static Public Member Functions

static getTokenFromCache ($tokenId)
static setTokenToCache ($tokenId, Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface $tokenValue)
static resetTokenCache ()
static getCache ()
static setCache (Zend_Cache_Core $cache)
static hasCache ()
static removeCache ()
static clearCache ()
static getWsdlCache ()
static setWsdlCache ($cache=null)

Protected Member Functions

 __construct ()

Static Protected Attributes

static $_storedToken

Detailed Description

Definition at line 31 of file Cache.php.


Constructor & Destructor Documentation

__construct ( ) [protected]

Constructor overriding - make sure that a developer cannot instantiate

Definition at line 62 of file Cache.php.


Member Function Documentation

static clearCache ( ) [static]

Clears all cache data

Returns:
void

Definition at line 178 of file Cache.php.

Here is the call graph for this function:

static getCache ( ) [static]

Returns the cache

Returns:
Zend_Cache_Core

Definition at line 138 of file Cache.php.

Here is the caller graph for this function:

static getTokenFromCache ( tokenId) [static]

returns stored token from cache or null

Parameters:
string$tokenId
Exceptions:
Zend_Service_DeveloperGarden_Exception
Returns:
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface|null

Definition at line 74 of file Cache.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static getWsdlCache ( ) [static]

Returns the wsdl cache

Returns:
integer

Definition at line 192 of file Cache.php.

Here is the caller graph for this function:

static hasCache ( ) [static]

Returns true when a cache is set

Returns:
boolean

Definition at line 158 of file Cache.php.

static removeCache ( ) [static]

Removes any cache

Returns:
void

Definition at line 168 of file Cache.php.

static resetTokenCache ( ) [static]

reset the internal cache structure

Returns:
void

Definition at line 125 of file Cache.php.

static setCache ( Zend_Cache_Core $  cache) [static]

Set a cache for token

Parameters:
Zend_Cache_Core$cacheA cache frontend

Definition at line 148 of file Cache.php.

set new value for the given tokenId

Parameters:
string$tokenId
Exceptions:
Zend_Service_DeveloperGarden_Exception
Parameters:
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface$tokenValue
Returns:
void

Definition at line 102 of file Cache.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static setWsdlCache ( cache = null) [static]

Set a cache for wsdl file

Parameters:
integer$cache
Returns:
void

Definition at line 203 of file Cache.php.


Field Documentation

$_storedToken [static, protected]
Initial value:
 array(
        'securityToken' => null,
        'getTokens' => null
    )

Definition at line 38 of file Cache.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations