altocompta/doc/developper/html/print__balance_8php.html

311 lines
12 KiB
HTML
Raw Blame History

<!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/print_balance.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&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">developpement</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000001.html">phpcompta-dev</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000002.html">phpcompta</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_000003.html">html</a></div>
<h1>print_balance.php File Reference</h1>Print the balance in pdf format. <a href="#_details">More...</a>
<p>
<p>
<a href="print__balance_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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a0">$cn</a> = DbConnect($_SESSION['g_dossier'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a1">$rep</a> = DbConnect()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a2">$User</a> = new <a class="el" href="classcl__user.html">cl_user</a>($rep)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a3">$bal</a> = new <a class="el" href="classBalance.html">Balance</a>($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a4">exit</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a5">$t_cent</a> = &quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a6">$a</a> = GetPeriode($cn,$from_periode)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a7">$b</a> = GetPeriode($cn,$to_periode)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a8">$per_text</a> = &quot; p<>riode du &quot;.$a['p_start'].&quot; au &quot;.$b['p_end']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="print__balance_8php.html#a9">$pdf</a> = &amp; new <a class="el" href="classCezpdf.html">Cezpdf</a>('a4')</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Print the balance in pdf format.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>received</em>&nbsp;</td><td>parameters </td></tr>
<tr><td valign="top"></td><td valign="top"><em>e_date</em>&nbsp;</td><td>element 01.01.2003 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>e_client</em>&nbsp;</td><td>element 3 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>nb_item</em>&nbsp;</td><td>element 2 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>e_march0</em>&nbsp;</td><td>element 11 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>e_quant0</em>&nbsp;</td><td>element 1 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>e_march1</em>&nbsp;</td><td>element 6 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>e_quant1</em>&nbsp;</td><td>element 2 </td></tr>
<tr><td valign="top"></td><td valign="top"><em>e_comment</em>&nbsp;</td><td>invoice number</td></tr>
</table>
</dl>
<p>
Definition in file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a6"></a><!-- doxytag: member="print_balance.php::$a" 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">$a = GetPeriode($cn,$from_periode) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00080">80</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="print_balance.php::$b" ref="a7" 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">$b = GetPeriode($cn,$to_periode) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00081">81</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="print_balance.php::$bal" 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__impress_8php.html#a9">bal</a> = new <a class="el" href="classBalance.html">Balance</a>($cn) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00048">48</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="print_balance.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>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00042">42</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="print_balance.php::$pdf" ref="a9" 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">$pdf = &amp; new <a class="el" href="classCezpdf.html">Cezpdf</a>('a4') </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00083">83</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="print_balance.php::$per_text" ref="a8" 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">$per_text = &quot; p<>riode du &quot;.$a['p_start'].&quot; au &quot;.$b['p_end'] </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00082">82</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="print_balance.php::$rep" 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">$rep = DbConnect() </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00043">43</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="print_balance.php::$t_cent" 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">$t_cent = &quot;&quot; </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00060">60</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="print_balance.php::$User" 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">$User = new <a class="el" href="classcl__user.html">cl_user</a>($rep) </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00045">45</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="print_balance.php::exit" 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"><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>
&nbsp;
</td>
<td>
<p>
<p>
Definition at line <a class="el" href="print__balance_8php-source.html#l00052">52</a> of file <a class="el" href="print__balance_8php-source.html">print_balance.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&nbsp;
<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>