Method to provide a download link for an object stored in the
docs_table, either by document id or document filename.
Class: bb_main, called as $main
File: bb_main.php (php)
function document($object, $text = "", $class = "link spaced")
$main->document($object, $text, $class);
Outputs: link to allow the downloading of a document from the database.
Either the id or the filename of the document to download.
The text to display for the link (or button). If blank will either be the id or filename depending on the value for
The class of the link to be outputted.