[TYPO3-mvc] access the UID for more

Johannes C. Schulz - EnzephaloN IT-Solutions info at enzephalon.de
Tue Aug 23 17:27:06 CEST 2011


Hi Dirk

Thanks a lot. Simple solution, but sometimes a long way to find it ;-)

Best regards
Johannes


-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
[mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von
Dirk Rauscher
Gesendet: Dienstag, 23. August 2011 16:36
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] access the UID for more

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
>
> ------------
>
>
>

_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc




More information about the TYPO3-project-typo3v4mvc mailing list