phpDocumentor Naos
[ class tree: Naos ] [ index: Naos ] [ all elements ]

Class: Naos_Cache

Source Location: /Cache.php

Class Naos_Cache

Class Overview

Naos_Cache is an abstraction layer for caching; it tries to use the fastest method available.

At the moment the following to methods are implemented: * apc (highest priority) * file (lowest priority)

Located in /Cache.php [line 30]



		
				Author(s):
		
Information Tags:
Copyright:  Copyright (c) 2008 Jupiter GmbH
License:  http://www.naos-framework.com/website.naos.framework/en/license

Methods

[ Top ]
Method Summary
static mixed   fetch()   Fetches a variable from the cache
static void   store()   Stores a variable to the cache
static int|null   storetime()   Retrieves store time of a cache object

[ Top ]
Methods
static method fetch  [line 58]

  static mixed fetch( $key  )

Fetches a variable from the cache

Parameters:
   $key: 

API Tags:
Access:  public


[ Top ]
static method store  [line 35]

  static void store( $key, $var, [ $ttl = 0]  )

Stores a variable to the cache

Parameters:
   $key: 
   $var: 
   $ttl: 

API Tags:
Access:  public


[ Top ]
static method storetime  [line 92]

  static int|null storetime( $key  )

Retrieves store time of a cache object

Parameters:
   $key: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Sat, 13 Sep 2008 01:40:38 -0400 by phpDocumentor 1.4.0