[TYPO3-core] RFC: Bug #7096: Consistent interface for AJAX calls in the TYPO3 Backend

Ingo Renner ingo at typo3.org
Mon Jan 7 19:30:22 CET 2008


Benjamin Mack wrote:
> Hey all,
> 
> this is a SVN patch request.

two small remarks after reading:

* rename TYPO3AJAX->output() to ...->render()
* either make TYPO3_AJAX a variable or remove the part in init.php where 
you define it as false
-- reason: constants are "constant" and don't change/have different 
values, you still check for a "true" TYPO3AJAX constant, if you want it 
to be true or false, use a (global) variable

the rest looks good so far


all the best
Ingo


-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list