[TYPO3-mvc] (v4 only) getContentObjectData or try to get uid of plugin

ralph germershausen | ressourcenmangel ralph.germershausen at ressourcenmangel.de
Fri Mar 12 15:55:55 CET 2010


Hi, i try to figure out how to get the uid of my plugin. 

I found /**

             * Returns the data array of the current content object

             *

             * @return array data of the current cObj

             * @api (v4 only)

             * @author Bastian Waidelich <bastian at typo3.org>

             */

            public function getContentObjectData() {

                        return $this->contentObjectData;

            }

So far. What does v4 means? It's for typo version 4.4?

If I can use it within 4.3, how do I get my cobj?

I tried $this->cObj = t3lib_div::makeInstance('Tx_Extbase_MVC_Web_Request');
inside initializeAction() and then $this->cObj->getContentObjectData()
resulting in empty..

 

ralph

 



More information about the TYPO3-project-typo3v4mvc mailing list