SproutCMS

This is the code documentation for the SproutCMS project

function getUid()

Generate an appropriate UUID.

Beware - new records are created with a UUIDv4 while the save() method
generates a UUIDv5. Theoretically this shouldn't be externally apparent
due to the wrapping transaction.

Usage

string $Model->getUid ( );

Exceptions thrown

  • Exception

Return value

  • string