[TYPO3-formidable] access of values in class.tx_myextension_pi1.php
Domi Garms
djgarms at gmail.com
Wed Aug 18 08:46:17 CEST 2010
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
More information about the TYPO3-project-formidable
mailing list