[TYPO3-core] RFC: #11438: Add a registry to t3lib

Michael Stucki michael at typo3.org
Thu Aug 13 16:55:55 CEST 2009


Hi Ingo,

> after having talked to Bastian he was somehow able to convince me about
> the extra namespace argument. So please find attached v4 of the patch.

Thanks, great you guys found a consensus! :-)

> Differences to Bastian's patch are:
> * changed entry_value field to use blob instead of longtext (max 65kB
> instead of 4GB)
> * entry_key field size increased to 255 (var)chars instead of 128.
> * minor code beautifications
> * get() only checks for isset($this->entries[$namespace]) instead of
> isset($this->entries[$namespace][$key]) before loading a namespace' values
> * removeAll() renamed to removeAllByNamespace()
> * added @author tags for Bastian

About the author tags: Is it really needed to have them on top of
_every_ method? Isn't it enough to have the tags in the class already,
which means they apply for all contents? Please change that.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list