[TYPO3-core] RFC: #14945: Rename t3lib_BEfunc::time and introduce new function

Martin Kutschker masi-no at spam-typo3.org
Wed Jun 30 21:29:46 CEST 2010


Am 30.06.2010 14:49, schrieb Georg Ringer:
> Am 30.06.2010 14:39, schrieb Jigal van Hemert:
>> It's a public static function, so chances are the several extensions
>> might use it.
>> Wouldn't that call for marking it as deprecated and removing it in 4.7?
> 
> Problem is I would really like to have a function t3lib_BEfunc::time()
> which does the similiar thing as t3lib_BEfunc::date() and
> t3lib_BEfunc::datetime()! The naming would also make quite much sense.

IMHO t3lib_BEfunc is as horrible as t3lib_div. If it's really only for the BE the code should be put
into typo3/classes.

That said I suggest that you provide a date utility class for typo3/classes and turn and turn the
ones in t3lib_BEfunc into wrappers. So we can get rid of t3lib_BEfunc in some distant release.

Masi


More information about the TYPO3-team-core mailing list