[TYPO3-mvc] access the UID for more

Dirk Rauscher dr_typo3 at itb-institut.de
Tue Aug 23 16:36:01 CEST 2011


Hi Johannes,

since the uid is a protected property of an object, use the method 
getUid() of the Tx_Extbase_DomainObject_AbstractDomainObject class to 
retrieve what you want.


$myObject->getUid();





Am 23.08.2011 14:31, schrieb Johannes C. Schulz - EnzephaloN IT-Solutions:
> Hey
>
>
>
> I tried to access the UID of an object, to use this by another extension
> (formhandler).
>
> But it still doesn't work.
>
> What do I need to do for accessing the UID and writing it down to
> $GLOBALS['whatever'] ??
>
>
>
> Best regards
>
> Johannes C. Schulz
>
> ------------
>
>
>



More information about the TYPO3-project-typo3v4mvc mailing list