[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/toolkit/src/ -> lmbRegistry.class.php (summary)

(no description)

File Size: 71 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

lmbRegistry:: (4 methods):
  set()
  get()
  save()
  restore()


Class: lmbRegistry  - X-Ref

Registry pattern implementation.
Allows to store any information and get access to it in any point of application
Supports saving and restoring (acts like programming stack) that is usefull for testing
Completely static class

set($name, $value)   X-Ref
Adds a value to the registry

param: string key
param: mixed value

get($name)   X-Ref
Returns value from the registry

param: string key
return: mixed

save($name)   X-Ref
Moves all registry entries one level deeper in cache stack

param: string key
return: void

restore($name)   X-Ref
Moves all registry entries one level up in cache stack

param: string key
return: void



Generated: Tue Dec 2 03:54:09 2008 Cross-referenced by PHPXref 0.7