[TYPO3-dev] RFC: Make t3lib_div::inList() accept * wildcard
Francois Suter
fsuter at cobweb.ch
Wed Nov 21 18:05:38 CET 2007
Hi,
> I think it should be a seperate function
>
> t3lib_div::inListWildcard()
>
> Otherwise it would take ressources...
Done that way it is useless. The whole point is that everywhere where
t3lib_div::inList() is called currently, one could pass * as a reference
string and get a return value of true.
Your suggestion means that everywhere where you want to be able to use *
you have to change the calls to inList() to some other method. This
would imply a *LOT* of changes (both to core and who knows how many
extensions).
As far as resources are concerned, of course it would take a bit more
resources, but it's only a simple test.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-dev
mailing list