[TYPO3-dev] Purpose of t3lib_recordList::writeBottom()
Peter Russ
peter.russ at 4many.net
Tue Mar 30 08:58:12 CEST 2010
--- Original Nachricht ---
Absender: Sebastian Gebhard
Datum: 29.03.2010 13:45:
> Hi,
>
> I was just investigating a bug in the list module when I stumbled over
> t3lib_recordList::writeBottom(). And I was wondering if this function is
> needed anymore.
>
> It puts out some HTML which seems to be intended to display an icon, but
> in the end it's just en empty table with no visual effect.
>
> I do not see any sense/need for this. Does anybody see any importance
> for this function? If not I'll empty the function in my RFC (the output
> actually causes my bug) and mark it as deprecated.
>
> Here it is:
> /**
> * Finishes the list with the "stopper"-gif, adding the HTML code for
> that item to the internal ->HTMLcode string
> *
> * @return void
> */
> function writeBottom() {
> $this->HTMLcode.='
> <!--
> End of list table:
> -->
> <table border="0" cellpadding="0" cellspacing="0">';
> $theIcon='<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/ol/stopper.gif','width="18"
> height="16"').' alt="" />';
> $this->HTMLcode.=$this->addElement(1,'','','',$this->leftMargin,$theIcon);
>
> $this->HTMLcode.='
> </table>';
> }
>
> Kind regards,
> Sebastian
Is it used at any place in the TYPO3 project and perhaps the majaor
extensions (e.g. PMA, tt_news, tt_address, direct_mail)?
Peter
--
docendo discimus
_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ
More information about the TYPO3-dev
mailing list