This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Vuzit_Service
Vuzit_Service class
Global utility properties and methods.
Static Property Methods
Static properties for the class.
Static Properties
Static properties for the class.
- getPublicKey() : Gets the Vuzit public API key.
- setPublicKey($key) : Sets the Vuzit public API key.
- getPrivateKey() : Gets the Vuzit private API key.
- setPrivateKey($key) : Sets the Vuzit private API key.
- getServiceUrl() : Gets the URL of the Vuzit web service.
- setServiceUrl($url) : Sets the URL of the Vuzit web service.
- getUserAgent() : Gets the user agent of the request.
- setUserAgent($agent) : Sets the user agent of the request.
Static Methods
Static methods for the class.
- static signature : Returns a signature string for use with the JavaScript API.
Usage Examples
Enable SSL
By default documents are uploaded, deleted and loaded without SSL. If you have a Vuzit account that permits SSL transmission of documents then you can use the SSL-enabled https://ssl.vuzit.com server. Just set the $ServiceUrl global static variable as shown below.
Vuzit_Service::setServiceUrl("https://ssl.vuzit.com");
// The following upload command and all subsequent commands will be executed under SSL
$doc = Vuzit_Document::upload("c:/path/to/document.pdf");
echo "Document id: " . $doc->getId();






