Zend Framework  1.12
Static Public Member Functions | List of all members
Zend_Json_Server_Cache Class Reference

Static Public Member Functions

static saveSmd ($filename, Zend_Json_Server $server)
 Cache a service map description (SMD) to a file.
 
static getSmd ($filename)
 Retrieve a cached SMD.
 
static deleteSmd ($filename)
 Delete a file containing a cached SMD.
 
- Static Public Member Functions inherited from Zend_Server_Cache
static save ($filename, Zend_Server_Interface $server)
 Cache a file containing the dispatch list.
 
static get ($filename, Zend_Server_Interface $server)
 Load server definition from a file.
 
static delete ($filename)
 Remove a cache file.
 

Additional Inherited Members

- Static Protected Attributes inherited from Zend_Server_Cache
static $_skipMethods = array()
 

Member Function Documentation

static deleteSmd (   $filename)
static

Delete a file containing a cached SMD.

Parameters
string$filename
Returns
bool
static getSmd (   $filename)
static

Retrieve a cached SMD.

On success, returns the cached SMD (a JSON string); an failure, returns boolean false.

Parameters
string$filename
Returns
string|false
static saveSmd (   $filename,
Zend_Json_Server  $server 
)
static

Cache a service map description (SMD) to a file.

Returns true on success, false on failure

Parameters
string$filename
Zend_Json_Server$server
Returns
boolean