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_Document_downloadUrl
Vuzit_Document downloadUrl function
Returns the URL for the file for downloading.
Signature
- public static downloadUrl($id, $fileExtension)
Parameters
- string $id : ID of the document to delete.
- string $fileExtension : File extension of the document like “pdf”, “doc”, “ppt”, etc.
Usage Examples
Downloads the Word 2003 version of a document.
$url = Vuzit_Document::downloadUrl("DOCUMENT_ID", "doc");
echo '<a href="' . $url . '">Link to the Word document</a>";
Downloads the PDF version of the same document.
$url = Vuzit_Document::downloadUrl("DOCUMENT_ID", "pdf");
echo '<a href="' . $url . '">Link to the PDF document</a>";







