![]() |
Another question on the registry pattern?
Hello, before I was looking at the registry pattern and from what I read I can pass in values to store in an array as storage.
PHP Code:
PHP Code:
If you can pass in one of your own classes, how would you use it within the registry pattern? Does anyone have a basic example, or is it mainly used when passing in strings as per my first code example? Thank you very much. |
Quote:
Quote:
|
| All times are GMT +1. The time now is 01:20 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.