Cache/Backend/ZendServer/ShMem.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Cache  
Subpackage
Zend_Cache_Backend  
Version
$Id$  

\Zend_Cache_Backend_ZendServer_ShMem

Package: Zend_Cache\Zend_Cache_Backend
Implements
Parent(s)
\Zend_Cache_Backend_ZendServer < \Zend_Cache_Backend
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpublic__construct(array $options = array()) : void

Constructor

Parameters
NameTypeDescription
$optionsarray

associative array of options

Throws
ExceptionDescription
\Zend_Cache_Exception
methodprotected_clear() : void

Clear cache

methodprotected_fetch(string $id) : void

Fetch data

Parameters
NameTypeDescription
$idstring

Cache id

methodprotected_store(mixed $data, string $id, int $timeToLive) : void

Store data

Parameters
NameTypeDescription
$datamixed

Object to store

$idstring

Cache id

$timeToLiveint

Time to live in seconds

methodprotected_unset(string $id) : boolean

Unset data

Parameters
NameTypeDescription
$idstring

Cache id

Returns
TypeDescription
booleantrue if no problem
Documentation was generated by phpDocumentor 2.2.0 .