Global data class.
| Vuzit_Service | Global data class. |
| Variables | |
| PublicKey | The Vuzit public API key. |
| PrivateKey | The Vuzit private API key. |
| ServiceUrl | The URL of the Vuzit web service. |
| Functions | |
| getSignature | Returns an array of the signature and the timestamp (integer). |
public static $ServiceUrl
The URL of the Vuzit web service. This only needs to be changed if you are running Vuzit Enterprise on your own server. The default value is “http://vuzit.com”.
Vuzit_Service::$ServiceUrl = 'http://vuzit.yourdomain.com';
public static function getSignature( $service, $id = '', $time = null )
Returns an array of the signature and the timestamp (integer).
| service | Name of the service: ‘show’, ‘create’, or ‘destroy’. |
| id | (Optional) ID of the document. |
| time | (Optional) Optional time stamp (e.g. time()). |
$timestamp = time();
$sig = Vuzit_Service::getSignature("show", "DOCUMENT_ID", $timestamp);The Vuzit public API key.
public static $PublicKey
The Vuzit private API key.
public static $PrivateKey
The URL of the Vuzit web service.
public static $ServiceUrl
Returns an array of the signature and the timestamp (integer).
public static function getSignature( $service, $id = '', $time = null )