Easily add uuid to your DataObjects
Simply add the extension to your DataObject
MyDataObject: extensions: - LeKoala\Uuid\UuidExtension
Call UuidExtension::getByUuid(MyDataObject::class, $uuid) to retrieve the record by Uuid.
In your templates, use UuidSegment to ensure Uuid value is generated on the record.
UuidSegment are base62 encoded in order to be more readable.
Since Uuid's are stored in binary format for performance reason, you need to call $myObject->dbObject('Uuid').Nice()
to get a readable value.
Tested with 4.1 up to 4.4
LeKoala - [email protected]
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem