altocompta/doc/developper/html/classposte.html

319 lines
13 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: poste 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>poste Class Reference</h1><!-- doxytag: class="poste" -->Manage the 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="classposte.html#a0">poste</a> ($p_cn, $p_id)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a1">GetRow</a> ($p_from, $p_to)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get dat for poste. <a href="#a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a2">GetName</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the name of a account. <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a3">GetSolde</a> ($p_cond=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">give the balance of an account <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#a4">GetSoldeDetail</a> ($p_cond=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">give the balance of an account <a href="#a4"></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="classposte.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="classposte.html#o1">$id</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classposte.html#o2">$row</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Manage the account.
<p>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00028">28</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="poste::poste" ref="a0" args="($p_cn, $p_id)" --><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">poste::poste </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_cn</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_id</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>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00032">32</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2"></a><!-- doxytag: member="poste::GetName" 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">poste::GetName </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </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>
Return the name of a account.
<p>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00080">80</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="class__operation_8php-source.html#l00087">$ret</a>, and <a class="el" href="client_8inc_8php-source.html#l00116">name</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="poste::GetRow" ref="a1" args="($p_from, $p_to)" --><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">poste::GetRow </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_from</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</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>
Get dat for poste.
<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</em>&nbsp;</td><td>periode from </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_to</em>&nbsp;</td><td>end periode </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>double array (j_date,deb_montant,cred_montant,description,jrn_name,j_debit,jr_internal) (tot_deb,tot_credit</dd></dl>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00046">46</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <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#l00374">$Max</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="poste::GetSolde" ref="a3" args="($p_cond=&quot;&quot;)" --><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">poste::GetSolde </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_cond</em> = <code>&quot;&quot;</code> </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>
give the balance of an account
<p>
<dl compact><dt><b>Returns:</b></dt><dd>balance of the account</dd></dl>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00099">99</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="setup_8php-source.html#l00374">$Max</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>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="poste::GetSoldeDetail" ref="a4" args="($p_cond=&quot;&quot;)" --><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">poste::GetSoldeDetail </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_cond</em> = <code>&quot;&quot;</code> </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>
give the balance of an account
<p>
<dl compact><dt><b>Returns:</b></dt><dd>balance of the account</dd></dl>
<p>
Definition at line <a class="el" href="class__poste_8php-source.html#l00121">121</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>.
<p>
References <a class="el" href="setup_8php-source.html#l00374">$Max</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>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o0"></a><!-- doxytag: member="poste::$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">poste::$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__poste_8php-source.html#l00029">29</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o1"></a><!-- doxytag: member="poste::$id" 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">poste::$<a class="el" href="impress__fiche_8php.html#a6">id</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="class__poste_8php-source.html#l00030">30</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o2"></a><!-- doxytag: member="poste::$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">poste::$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__poste_8php-source.html#l00031">31</a> of file <a class="el" href="class__poste_8php-source.html">class_poste.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__poste_8php-source.html">class_poste.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 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>