[Typo3] $this->cObj->data["pi_flexform"] is emtpy, pi_getFFvalue not work

Richard news at oberon-inf.com
Mon May 16 21:27:08 CEST 2005


In my extension, I want to retrieve data from a flexiform and they don't
work.

I try to retrieve data white pi_getFFvalue function.


 $this->pi_initPIflexForm();
 $piFlexForm = $this->cObj->data["pi_flexform"];
debug($this->pi_getFFvalue($piFlexForm, "feusers_pid", "SDEF"));




when I debug  $this->cObj->data["pi_flexform"]  is emtpy

I think is normale the pi_getFFvalue function return "" if
$this->cObj->data["pi_flexform"]  is emtpy

Why $this->cObj->data["pi_flexform"] is empty?


Flexiform inside database:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <T3FlexForms>
    <data type="array">
        <sDEF type="array">
            <lDEF type="array">
                <feusers_pid type="array">
                    <vDEF>hjhjhj</vDEF>
                </feusers_pid>
            </lDEF>
        </sDEF>
        <s_profiles type="array">
            <lDEF type="array">
                <disable_profile type="array">
                    <vDEF>5t4654</vDEF>
                </disable_profile>
            </lDEF>
        </s_profiles>
    </data>
</T3FlexForms>


Richard :)



More information about the TYPO3-english mailing list