registry.class.php
registry.class.php
is a simple registry class using PHP sessions for persistence
Registry values are stored as key = value pairs
Any data type can be persisted including scalars, arrays, and resources
Persistence is created via standard PHP sessions
Generally the registry handle should be a global
``
class RegistryRead/write data to registry data array, sessions make the data persistent
No external dependencies Constructor for this registry if none exists, also starts sessionsRestores registry if one exists
$rh = new Registry()
Write persistent registry data for name
Overwrites values with same name
value = rh->getRegistry(name)
Returns false if name unset
Clear (unset) persistent registry data for name
``
None known
John Bartlett
johnb@thesolution.com.au
Standalone