Here are the list of all vars saved in current namespace. When you press 'Palin reload', current page are reloaded only with Namespace param, all vars are retrived from storage and can be accessed again.
You can save a class and would be accessed at any moment during current session, not needed to be contructed again. Here are a simple class, and you can see it's capabilities.
A class is constructed if not started before. Here an example ussing directly a class method:
Data_registry::init("DEFAULT")->getClass("testDR")->setData("VarName","Value")
or use:
Data_registry::init("DEFAULT","testDR")->setData("VarName","Value")
Add function, adding elements to an stored array. Very usefull if you plan to use Data_registry to store queries, execution times, errors, logs, etc... You will be able to retrieve all of then at any moment, not only in the current process.