[TYPO3-project-formidable] Formidable edit in list using a modalbox in the Backend - Does not work!

Jerome Schneider typo3dev at ameos.com
Mon Feb 23 10:46:09 CET 2009


Hi Oliver,
Yes you're right, it was a mistake.

Hauke: the & before a $variable, when used, tells PHP to handle the 
reference of the data, instead of working on a copy of the data

Best regards,
Jerome


Oliver Klee a écrit :
> Hi,
> 
> Jerome Schneider schrieb:
>> tx_ameosformidable::backendHeaders(&$this);
>>
>>
>> like this:
>>
>> $this->oForm = t3lib_div::makeInstance("tx_ameosformidable");
>> $this->oForm->init(
>>     &$this,
>>     "EXT:myext/path/to.xml"
>> );
> 
> Please don't use & in function calls because this will crash systems
> that don't allow call-time pass-by-reference (ie. prcatically all new
> PHP installations).
> 
> 
> 
> Oliver


More information about the TYPO3-project-formidable mailing list