[TYPO3-core] RFC #14023: Tweak: Choose proper variable namings in tslib_cObj::getGlobal()

Sebastian Gebhard sebastiangebhard at hoch2.de
Wed Apr 7 14:34:30 CEST 2010


Am 07.04.10 14:30, schrieb Xavier Perseguers:
> Hi,
>
>> Attached is my version, which also makes a single return.
>>
>> This function requires the source to be an array. It will not work if
>> an object is passed as $source. Should we change that?
>
> Sidenote question: we still have many "@access private" in Core. They
> come from PHP4. When do we start to refactor this to, e.g., "protected
> function blabla" for trunk?
+1
>
> I would suggest to change this for trunk for this very patch.
-1
This function can also be useful to be called externally. Me and a 
colleague are working on a patch that enables prefix|varname syntax for 
config.linkVars.
I'd rather propose to remove the "@access private" here.



More information about the TYPO3-team-core mailing list