[TYPO3-formidable] access of values in class.tx_myextension_pi1.php
Stéphane FILLION
s.fillion at ameos.com
Fri Aug 20 11:57:42 CEST 2010
Hello Domi,
if you still need help, can i have the snippet of your event for help you ?
Regards,
Stéphane
-----Message d'origine-----
De : typo3-project-formidable-bounces at lists.typo3.org [mailto:typo3-project-formidable-bounces at lists.typo3.org] De la part de Domi Garms
Envoyé : mercredi 18 août 2010 08:46
À : TYPO3 project list for the FORMidable extension
Objet : [TYPO3-formidable] access of values in class.tx_myextension_pi1.php
Hello,
its me again. I dont understand, in the snippet:
http://formidable.typo3.ug/tutorials/ajax-with-the-sandbox.html
values from the main-extension php is called. I try to reproduce it
with following snippet, but its failed. my value var $test = "some
test" is empty in the output of my majix event.
<sandbox>
<userobj>
<php><![CDATA[
function getPersonId() {
$sText = $this->oForm->oParent->test;
return $sText;
}
]]></php>
</userobj>
</sandbox>
In tx_mytestextension_pi1.php:
var $test = "some test";
Do I missunderstood something?
Thanks for any help
Regards,
Domi
_______________________________________________
TYPO3-project-formidable mailing list
TYPO3-project-formidable at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-formidable
More information about the TYPO3-project-formidable
mailing list