## Class mr_helper_cache

Description

MR Helper Cache

This helper is used for quick and easy access to mr_cache. Automatic setup of mr_cache and access to all of mr_cache methods.

- author: Mark Nielsen
- example: See this in action

Located in /helper/cache.php (line 47)

    mr_helper_abstract
       |
       --mr_helper_cache

Variable Summary
mr_cache $cache
Method Summary
boolean direct (string $data, [string $id = null])
mr_cache _cache ()
mixed __call (string $name, array $arguments)
Variables
mr_cache $cache = NULL (line 53)

Cache model

- access: protected

#### Inherited Variables

Inherited from mr_helper_abstract

> mr_helper_abstract::$_helper_namespace

Methods
direct (line 75)

Save data to the cache (This is the same as mr_cache method save)

- throws: coding_exception
- access: public

boolean direct (string $data, [string $id = null])

- string $data: The data to be saved, currently ONLY strings accepted
- string $id: Cache id (if not set, the last cache id will be used)

_cache (line 60)

Return mr_cache based on the current namespace

- access: protected

mr_cache _cache ()
__call (line 87)

Direct all other calls to mr_cache

- throws: coding_exception
- access: public

mixed __call (string $name, array $arguments)

- string $name: A method in mr_cache
- array $arguments: The args to pass to the mr_cache method

#### Inherited Methods

Inherited From mr_helper_abstract

> mr_helper_abstract::_set_helper_namespace()

Documentation generated on Thu, 28 Jun 2012 16:33:46 -0700 by phpDocumentor 1.4.3