[Flow] Generate Identifier in ajax request

Cornel Widmer cornel at webstobe.ch
Fri Jun 13 15:12:56 CEST 2014


Hi Alexander

Thanks a lot! Exactly what I was looking for.
Because my script is complete standalone I had to include the classfile and define the constant FLOW_PATH_FLOW by myself. But thats fine.

Best regards
Cornel


Quote: Alexander Berl wrote on Fri, 13 June 2014 14:16
----------------------------------------------------
> Use TYPO3\Flow\Utility\Algorithms::generateUUID(), that is the method
> that is used internally to generate persistence identifiers.
> 
> Regards,
> Alexander
> 
> Am 12.06.2014 17:34, schrieb Cornel Widmer:
> > I would like to create the identifier by myself, because I'm using a
> > simple PHP-script in an ajax call to make new "objects".
> > 
> > By now I save the entries with a custom hash value what works... but I
> > want a solution that is more integrated. Now the hash values differs
> > from the hash-values that are created trough normal forms.
> > 
> > Is there a solution for this?
----------------------------------------------------




More information about the Flow mailing list