ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
UUID Utility. More...
Static Public Member Functions | |
static | getUUID () |
Returns a pseudo-random v4 UUID. More... | |
static | validateUUID ($uuid) |
Checks if a string is a valid UUID. More... | |
UUID Utility.
This class has static methods to generate and validate UUID's. UUIDs are used a decent amount within various *DAV standards, so it made sense to include it.
Definition at line 16 of file UUIDUtil.php.
|
static |
Returns a pseudo-random v4 UUID.
This function is based on a comment by Andrew Moore on php.net
Definition at line 26 of file UUIDUtil.php.
Referenced by Sabre\CalDAV\Backend\Mock\__construct(), Sabre\CalDAV\Backend\Mock\createCalendar(), Sabre\DAV\Locks\Plugin\parseLockRequest(), Sabre\CalDAV\Schedule\Plugin\scheduleLocalDelivery(), and Sabre\CalDAV\Backend\PDO\updateInvites().
|
static |
Checks if a string is a valid UUID.
string | $uuid |
Definition at line 55 of file UUIDUtil.php.
Referenced by Sabre\DAV\UUIDUtilTest\testValidateUUID().