[TYPO3-core] RFC #4911: Add an option to add alternative external URL or shortcut for other languages

Steffen Kamper info at sk-typo3.de
Wed Feb 4 00:20:51 CET 2009


Francois Suter schrieb:
> BTW: I had a hard time finding where to add this code because of broken 
> inheritance in the recordlist et al. classes. Indeed class 
> localRecordList (defined in typo3/class.db_list_extra.inc) inherits from 
> recordList (defined in typo3/class.db_list.inc), which itself inherits 
> from t3lib_recordList (defined in t3lib/class.t3lib_recordlist.php). BUT 
> in method recordList::generateList() there's a call to $this->getTable() 
> which is defined in child class localRecordList! I suppose 
> generateList() should be moved to class localRecordList, but I have to 
> check the core first for any use that might break. If I have the time 
> I'll do a cleanup patch for this.
> 

i know this very well - nearly impossible to enhance this way, this is 
one reason why list module isn't optimized much yet.

vg Steffen


More information about the TYPO3-team-core mailing list