[TYPO3-core] RFC: #15585: Introducing t3lib_div::getObjectEnv($input) and t3lib_div::getType ($input)

David Bruchmann typo3-team-core at bruchmann-web.de
Sun Aug 29 10:18:26 CEST 2010


----- Ursprüngliche Nachricht -----
Von:        Helmut Hummel <helmut at typo3.org>
Gesendet:   Sonntag, 29. August 2010 02:36:57
An:         typo3-team-core at lists.typo3.org
CC:
Betreff:    Re: [TYPO3-core] RFC: #15585: Introducing 
t3lib_div::getObjectEnv($input) and t3lib_div::getType ($input)
> Hi David,
>
> I really like the improved debug output of objects you proposed in #11680.
>
> However I don't know how this RFC could help implementing it into a new
> t3lib_debug.
>
> I might be wrong, but I even do not see how this proposal is useful at all.
>
> On 29.08.10 01:41, David Bruchmann wrote:
>
>>> The functional part has general scope and could be used in any
>>> extension / function.
>
> Can you give me a usecase of any of the functions in question besides
> debugging?
>
> Especially I doubt that the proposed getObjectEnv() is usefull in any
> other context.
>
> For getType I also don't understand how this could be usefull. Even if
> the PHP docs "warn" to use the native gettype(), I cannot imagine what
> benefit your function gives in favour of the native gettype().
>
>>> Concerning CGL and the proposed switch please see the attached file
>>> with a new version, furthermore I completed the types.
>
> There are still CGL issues remaining, but that's not the main reason I'd
> like to give a -1 for having these functions in t3lib_div.
>


Hi Helmut,

thanks for feedback.

Concerning the CGL please give me a hint.

For the Rest: I suppose that I'll never get a +1 for integrating it in 
t3lib_div, so I'll put it in the debug-class.

Best Regards,
David


More information about the TYPO3-team-core mailing list