API Documentation

Json/Server/Cache.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Json
subpackage
Server
version
$Id: Cache.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Json_Server_Cache

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Json_Server_Cache

Extends from
Zend_Server_Cache
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Json
subpackage
Server
Methods
saveSmd
getSmd
deleteSmd

Description

Zend_Json_Server_Cache: cache Zend_Json_Server server definition and SMD

Methods

deleteSmd

deleteSmd( string $filename ) : bool

Delete a file containing a cached SMD

Arguments
$filename
string
Output
bool
Details
visibility
public
final
false
static
true

getSmd

getSmd( string $filename ) : string|false

Retrieve a cached SMD

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

Arguments
$filename
string
Output
string|false
Details
visibility
public
final
false
static
true

saveSmd

saveSmd( string $filename, Zend_Json_Server $server ) : boolean

Cache a service map description (SMD) to a file

Returns true on success, false on failure

Arguments
$filename
string
$server
Zend_Json_Server
Output
boolean
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox.