You are here

function PMPAPIDrupal::guid in Public Media Platform API Integration 7

Generates a GUID

Return value

A UUID v4 GUID

1 call to PMPAPIDrupal::guid()
PMPAPIDrupal::createDoc in classes/PMPAPIDrupal.php
Creates a doc to be pushed to the PMP.

File

classes/PMPAPIDrupal.php, line 93
Defines a class for PMP creation/transmission and retreival/parsing

Class

PMPAPIDrupal
@file

Code

function guid() {
  $doc = $this
    ->getDoc();
  if ($doc) {
    return $doc
      ->createGuid();
  }
}