[TYPO3-core] RFC: Feature #6779 (tabbed menu as separate file)

Malte Jansen mail at maltejansen.de
Wed Nov 21 13:16:24 CET 2007


Tapio Markula schrieb:
> Malte Jansen
>>> why
>>> + $item.= 
>>> t3lib_tabMenus::getDynTabMenu($tabParts,'TCEFORMS:flexform:'.$PA['itemFormElName'].$PA['_lang']); 
>>
>>
>>
>> Please learn the basics of OOP in PHP.
>>
>> template::getDynTabMenu is not called their.
> 
> I don't call template::getDynTabMenu because I put
> getDynTabMenu into separate class file,
> class.t3lib_tabmenus.php, which has the class
> t3lib_tabMenus. You have lost the idea to put the tabmenu stuff into 
> separate file.
I have not lost it.

Current in the trunk:
$this->getDynTabMenu calls tceforms::getDynTabMenu which calls 
template::getDynTabMenu with more than two parameters.

What you are doing:
tabmenus::getDynTabMenu without any further parameters

> 
>  Please check so whole code.
>> Their is function inside the tceforms called getDynTabMenu...
> 
> I know but why I can't call it direct reference to another class - the 
> class file has been included in the top of the file. I have used those 
> references and they have always worked ok.

But you forgot the parameters... So it cannot work like in the trunk.
Have you checked dividers2tabs ?

You cannot compare it with your extension.


Cheers,

Malte


More information about the TYPO3-team-core mailing list