phpDocumentor GloryLands
Common
[ class tree: GloryLands ] [ index: GloryLands ] [ all elements ]

Class: GLCache

Source Location: /engine/lib/common/cache.php

Class GLCache

Class Overview

GloryLands Cache

GloryLands Cache

Located in /engine/lib/common/cache.php [line 40]



		
				Author(s):
		
Information Tags:
Todo:  Import the RAM caching from old engine
Todo:  Import the disk caching from old engine

Properties

Methods

[ Top ]
Constant Summary
FAST   Informs the engine that the caching should be fast.
LARGE   Informs the engine that the data being stored are likely to be really big.
PERMANENT   Informs the engine that the data should be permanately preserved on cache.
SESSION   Informs the engine that the data should be preserved only for this session.
TEMP   Informs the engine that the data should be stored on a temprary media, and they can expire by the end of the script execution.

[ Top ]
Property Summary
static mixed   $cache  

[ Top ]
Method Summary
static void   initialize()  
static void   store()  

[ Top ]
Properties
static mixed   $cache [line 73]
API Tags:
Access:  public


[ Top ]
Methods
static method initialize  [line 75]

  static void initialize( )


API Tags:
Access:  public


[ Top ]
static method store  [line 79]

  static void store( $category, $id, $structure, $options  )

Parameters:
   $category: 
   $id: 
   $structure: 
   $options: 

API Tags:
Access:  public


[ Top ]
Constants
FAST = 1 [line 46]

Informs the engine that the caching should be fast.

Informs the engine that the caching should be fast. Use this flag for time-cruicial caching.


[ Top ]
LARGE = 2 [line 52]

Informs the engine that the data being stored are likely to be really big.

Informs the engine that the data being stored are likely to be really big. By the term really big, we are talking for more than 100kb of data.


[ Top ]
PERMANENT = 16 [line 71]

Informs the engine that the data should be permanately preserved on cache.

Informs the engine that the data should be permanately preserved on cache. Use this if you are caching structures that are not likely to change (such as configuration or file contents).


[ Top ]
SESSION = 8 [line 64]

Informs the engine that the data should be preserved only for this session.

Informs the engine that the data should be preserved only for this session.


[ Top ]
TEMP = 4 [line 58]

Informs the engine that the data should be stored on a temprary media, and they can expire by the end of the script execution.

Informs the engine that the data should be stored on a temprary media, and they can expire by the end of the script execution.


[ Top ]

Documentation generated on Tue, 13 Oct 2009 23:48:40 +0300 by phpDocumentor 1.4.1