[TYPO3-project-formidable] How to get the UID of the record updated ?

Izzie Greys izzie.greys at gmail.com
Tue Mar 17 16:36:08 CET 2009


 <TYPO3-project-formidable at lists.netfielders.de>Hi there,

I have problems finding how to get the uid of the data I want to update.
For example, if I need to get the label of the record I do that :
<beforeInsertion>
  <userobj>
    <php><![CDATA[/*<?*/
      $aData = $this->getUserObjParams();
      if($this->oDataHandler->_edition()) {
        echo $aData["label"];
      }
      return $aData;
     /*?>*/]]></php>
  </userobj>
</beforeInsertion>

But I can't have the uid, $aData["uid"] is not working. I also tried in
afterinsertion and afteredition and I still have problems. Where is stored
the uid and how can I get it ?

Thanks in advance for your help :-)

See you.


More information about the TYPO3-project-formidable mailing list