Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
Registry Class Reference

Public Member Functions

 delete ($key)
 
get ($key, $createIfEmpty=false, $createWithDefault=null)
 
getRegistry ()
 
 set ($key, &$value)
 

Detailed Description

Maintains a static table of keyed references. Used for storing/accessing single instance objects and values.

Definition at line 18 of file Registry.inc.php.

Member Function Documentation

Registry::delete (   $key)

Remove an item from the registry.

Parameters
$keystring

Definition at line 62 of file Registry.inc.php.

References getRegistry().

& Registry::getRegistry ( )

Get a static reference to the registry data structure.

Returns
array

Definition at line 23 of file Registry.inc.php.

Referenced by delete(), get(), and set().

Registry::set (   $key,
$value 
)

The documentation for this class was generated from the following file: