223 lines
11 KiB
HTML
223 lines
11 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>phpcompta: /home/dany/developpement/phpcompta-dev/phpcompta/html/show_document_modele.php File Reference</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.4.4 -->
|
|
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000000.html">developpement</a> » <a class="el" href="dir_000001.html">phpcompta-dev</a> » <a class="el" href="dir_000002.html">phpcompta</a> » <a class="el" href="dir_000003.html">html</a></div>
|
|
<h1>show_document_modele.php File Reference</h1>send the document template <a href="#_details">More...</a>
|
|
<p>
|
|
|
|
<p>
|
|
<a href="show__document__modele_8php-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="show__document__modele_8php.html#a0">$cn</a> = DbConnect($_SESSION['g_dossier'])</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="show__document__modele_8php.html#a1">$User</a> = new <a class="el" href="classcl__user.html">cl_user</a>(DbConnect())</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="show__document__modele_8php.html#a2">$r</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="show__document__modele_8php.html#a3">exit</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="show__document__modele_8php.html#a4">$row</a> = pg_fetch_array($r,0)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="show__document__modele_8php.html#a5">$tmp</a> = tempnam('/tmp/','document_')</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="show__document__modele_8php.html#a6">$file</a> = fopen($tmp,'r')</td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
send the document template
|
|
<p>
|
|
|
|
<p>
|
|
Definition in file <a class="el" href="show__document__modele_8php-source.html">show_document_modele.php</a>.<hr><h2>Variable Documentation</h2>
|
|
<a class="anchor" name="a0"></a><!-- doxytag: member="show_document_modele.php::$cn" ref="a0" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$cn = DbConnect($_SESSION['g_dossier']) </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="show__document__modele_8php-source.html#l00030">30</a> of file <a class="el" href="show__document__modele_8php-source.html">show_document_modele.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a6"></a><!-- doxytag: member="show_document_modele.php::$file" ref="a6" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$file = fopen($tmp,'r') </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="show__document__modele_8php-source.html#l00060">60</a> of file <a class="el" href="show__document__modele_8php-source.html">show_document_modele.php</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="user__form__ach_8php-source.html#l00453">FormAchView()</a>, <a class="el" href="user__form__fin_8php-source.html#l00147">FormFin()</a>, <a class="el" href="user__form__ven_8php-source.html#l00425">FormVenteView()</a>, <a class="el" href="class__invoice_8php-source.html#l00111">Invoice::Get()</a>, <a class="el" href="class__document__modele_8php-source.html#l00203">Document_modele::Get()</a>, <a class="el" href="class__document_8php-source.html#l00295">Document::Get()</a>, <a class="el" href="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, and <a class="el" href="jrn_8php-source.html#l00282">UpdateJrn()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a2"></a><!-- doxytag: member="show_document_modele.php::$r" ref="a2" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$r </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<b>Initial value:</b><div class="fragment"><pre class="fragment"><a class="code" href="postgres_8php.html#a2">ExecSql</a>($cn,<span class="stringliteral">"select md_id,md_lob,md_filename,md_mimetype </span>
|
|
<span class="stringliteral"> from document_modele where md_id="</span>.$_REQUEST['<a class="code" href="document__modele_8inc_8php.html#a3">md_id</a>'])
|
|
</pre></div>
|
|
<p>
|
|
Definition at line <a class="el" href="show__document__modele_8php-source.html#l00039">39</a> of file <a class="el" href="show__document__modele_8php-source.html">show_document_modele.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a4"></a><!-- doxytag: member="show_document_modele.php::$row" ref="a4" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$row = pg_fetch_array($r,0) </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="show__document__modele_8php-source.html#l00045">45</a> of file <a class="el" href="show__document__modele_8php-source.html">show_document_modele.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a5"></a><!-- doxytag: member="show_document_modele.php::$tmp" ref="a5" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$tmp = tempnam('/tmp/','document_') </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="show__document__modele_8php-source.html#l00050">50</a> of file <a class="el" href="show__document__modele_8php-source.html">show_document_modele.php</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="readme_8php-source.html#l00043">Creport::dots()</a>, <a class="el" href="class_8pdf_8php-source.html#l01713">Cpdf::ellipse()</a>, <a class="el" href="class_8pdf_8php-source.html#l01098">Cpdf::encryptInit()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00377">Cezpdf::ezPRVTaddPageNumbers()</a>, <a class="el" href="class__invoice_8php-source.html#l00111">Invoice::Get()</a>, <a class="el" href="class__document__modele_8php-source.html#l00203">Document_modele::Get()</a>, <a class="el" href="class__document_8php-source.html#l00295">Document::Get()</a>, <a class="el" href="class_8pdf_8php-source.html#l01086">Cpdf::md5_16()</a>, <a class="el" href="class_8pdf_8php-source.html#l00890">Cpdf::o_contents()</a>, <a class="el" href="class_8pdf_8php-source.html#l00224">Cpdf::o_destination()</a>, <a class="el" href="class_8pdf_8php-source.html#l01015">Cpdf::o_encryption()</a>, <a class="el" href="class_8pdf_8php-source.html#l00940">Cpdf::o_image()</a>, <a class="el" href="class_8pdf_8php-source.html#l00347">Cpdf::o_pages()</a>, <a class="el" href="class_8pdf_8php-source.html#l01306">Cpdf::openFont()</a>, <a class="el" href="class_8pdf_8php-source.html#l01220">Cpdf::output()</a>, <a class="el" href="readme_8php-source.html#l00032">Creport::rf()</a>, <a class="el" href="class_8pdf_8php-source.html#l01417">Cpdf::selectFont()</a>, <a class="el" href="class_8pdf_8php-source.html#l01899">Cpdf::stream()</a>, and <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a1"></a><!-- doxytag: member="show_document_modele.php::$User" ref="a1" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">$User = new <a class="el" href="classcl__user.html">cl_user</a>(DbConnect()) </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="show__document__modele_8php-source.html#l00034">34</a> of file <a class="el" href="show__document__modele_8php-source.html">show_document_modele.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a3"></a><!-- doxytag: member="show_document_modele.php::exit" ref="a3" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="user__sec_8php.html#a3">exit</a> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="show__document__modele_8php-source.html#l00043">43</a> of file <a class="el" href="show__document__modele_8php-source.html">show_document_modele.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:46 2006 for phpcompta by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
|
|
</body>
|
|
</html>
|