[TYPO3-project-formidable] Syntax

François SCHOSSIG f.schossig at a-e-r.org
Fri Aug 25 13:44:26 CEST 2006


Hello to everybody,

Here is a syntax question.

In the next case (part of a renderlet), how is it possible to access  
to the <items> values (represented by the $aItems variable) inside  
the PHP code of the function called in the <php> of the <userobj> ?

   <data>
     <items>
       <item>
         <value>1</value>
         <caption>Toto</caption>
       </item>
     </items>
     <userobj>
       <php><![CDATA[
           return $this->_oParent->_populateFromGlossary($aItems, 1);
       ]]></php>
     </userobj>
   </data>

And what about giving the content of the form (the &$oForm variable  
of the example) to a callback ?

Thanks.
--
F. SCHOSSIG, ICT Manager
Assemblée des Régions d'Europe
http://www.a-e-r.org - +33 (0)3 88 22 07 07




More information about the TYPO3-project-formidable mailing list