send the document template More...
Go to the source code of this file.
Variables | |
$cn = new Database($gDossier) | |
$file = fopen($tmp,'r') | |
global | $g_user = new User($cn) |
$gDossier = dossier::id() | |
$r | |
if(Database::num_row($r)==0) | $row = Database::fetch_array($r,0) |
$tmp = tempnam($_ENV['TMP'],'document_') | |
while (!feof($file)) echo fread($file |
send the document template
Definition in file show_document_modele.php.
Definition at line 30 of file show_document_modele.php.
$file = fopen($tmp,'r') |
Definition at line 61 of file show_document_modele.php.
Definition at line 33 of file show_document_modele.php.
$gDossier = dossier::id() |
Definition at line 29 of file show_document_modele.php.
$r |
$cn->exec_sql("select md_id,md_lob,md_filename,md_mimetype from document_modele where md_id=$1",array($_REQUEST['md_id']))
Definition at line 39 of file show_document_modele.php.
if (Database::num_row($r)==0) $row = Database::fetch_array($r,0) |
Definition at line 46 of file show_document_modele.php.
$tmp = tempnam($_ENV['TMP'],'document_') |
Definition at line 51 of file show_document_modele.php.
Referenced by Securimage\distortedCopy(), Follow_Up_Detail\from_array(), Acc_Bilan\generate_odt(), Acc_Ledger\get_detail(), Document_type\get_list(), Acc_Report\get_list(), Fiche\HtmlTable(), Database\lo_export(), PDF\LongLine(), Document\Send(), and Fiche\update().
Definition at line 62 of file show_document_modele.php.