altocompta/doc/developper/html/classBalance.html

198 lines
8.6 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: Balance Class 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>
<h1>Balance Class Reference</h1><!-- doxytag: class="Balance" -->Class for manipulating data to print the balance of account.
<a href="#_details">More...</a>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBalance.html#a0">Balance</a> ($p_cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBalance.html#a1">GetRow</a> ($p_from_periode, $p_to_periode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">retrieve all the row from the ledger in the range of a periode <a href="#a1"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBalance.html#o0">$db</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBalance.html#o1">$central</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBalance.html#o2">$row</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Class for manipulating data to print the balance of account.
<p>
<p>
Definition at line <a class="el" href="class__balance_8php-source.html#l00029">29</a> of file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="Balance::Balance" ref="a0" args="($p_cn)" --><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">Balance::Balance </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_cn</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></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="class__balance_8php-source.html#l00033">33</a> of file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a1"></a><!-- doxytag: member="Balance::GetRow" ref="a1" args="($p_from_periode, $p_to_periode)" --><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">Balance::GetRow </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_from_periode</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_to_periode</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
retrieve all the row from the ledger in the range of a periode
<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>$p_from_periode</em>&nbsp;</td><td>start periode </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_to_periode</em>&nbsp;</td><td>end periode</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>a double array array of<ul>
<li>$a['poste']</li><li>$a['label']</li><li>$a['sum_deb']</li><li>$a['sum_cred']</li><li>$a['solde_deb']</li><li>$a['solde_cred']</li></ul>
</dd></dl>
<p>
Definition at line <a class="el" href="class__balance_8php-source.html#l00053">53</a> of file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>.
<p>
References <a class="el" href="balance_8php-source.html#l00108">$a</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="balance_8php-source.html#l00113">$i</a>, <a class="el" href="setup_8php-source.html#l00408">$M</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="poste_8php-source.html#l00036">GetPosteLibelle()</a>, and <a class="el" href="balance_8php-source.html#l00071">label</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o1"></a><!-- doxytag: member="Balance::$central" ref="o1" 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">Balance::$central </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="class__balance_8php-source.html#l00031">31</a> of file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o0"></a><!-- doxytag: member="Balance::$db" ref="o0" 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">Balance::$db </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="class__balance_8php-source.html#l00030">30</a> of file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o2"></a><!-- doxytag: member="Balance::$row" ref="o2" 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">Balance::$row </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="class__balance_8php-source.html#l00032">32</a> of file <a class="el" href="class__balance_8php-source.html">class_balance.php</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__balance_8php-source.html">class_balance.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 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>