405 lines
16 KiB
HTML
405 lines
16 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: jrn 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 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>
|
|
<h1>jrn Class Reference</h1><!-- doxytag: class="jrn" -->Class for jrn.
|
|
<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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#a0">jrn</a> ($p_cn, $p_id)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#a1">GetName</a> ()</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#a2">GetRow</a> ($p_from, $p_to, $<a class="el" href="class__operation_8php.html#a2">cent</a>='off', $p_limit=-1, $p_offset=-1)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#a3">GetRowSimple</a> ($p_from, $p_to, $<a class="el" href="class__operation_8php.html#a2">cent</a>='off', $p_limit=-1, $p_offset=-1)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#a4">GetDefLine</a> ($p_cred)</td></tr>
|
|
|
|
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#o0">$id</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#o1">$name</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#o2">$db</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classjrn.html#o3">$row</a></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
Class for jrn.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__jrn_8php-source.html#l00024">24</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="a0"></a><!-- doxytag: member="jrn::jrn" 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">jrn::jrn </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </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>$ </td>
|
|
<td class="mdname" nowrap> <em>p_id</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></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="class__jrn_8php-source.html#l00029">29</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.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="a4"></a><!-- doxytag: member="jrn::GetDefLine" ref="a4" args="($p_cred)" --><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">jrn::GetDefLine </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>p_cred</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
GetDefLine Get the number of lines of a journal <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_cred</em> </td><td>deb or cred</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>an integer</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__jrn_8php-source.html#l00321">321</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>.
|
|
<p>
|
|
References <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="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="client_8inc_8php-source.html#l00117">value</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a1"></a><!-- doxytag: member="jrn::GetName" 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">jrn::GetName </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></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="class__jrn_8php-source.html#l00034">34</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>.
|
|
<p>
|
|
References <a class="el" href="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="class__operation_8php-source.html#l00087">$ret</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="client_8inc_8php-source.html#l00116">name</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a2"></a><!-- doxytag: member="jrn::GetRow" ref="a2" args="($p_from, $p_to, $cent='off', $p_limit=-1, $p_offset=-1)" --><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">jrn::GetRow </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </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>$ </td>
|
|
<td class="mdname" nowrap> <em>p_to</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>cent</em> = <code>'off'</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_limit</em> = <code>-1</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_offset</em> = <code>-1</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
GetRow Get The data<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>:</em> </td><td><ul>
|
|
<li>connection</li></ul>
|
|
</td></tr>
|
|
</table>
|
|
</dl>
|
|
<ul>
|
|
<li>an array</li><li>p_limit starting line</li><li>p_offset number of lines</li></ul>
|
|
<p>
|
|
gen :<ul>
|
|
<li>none return:</li><li>Array with the asked data</li></ul>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__jrn_8php-source.html#l00065">65</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.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="setup_8php-source.html#l00374">$Max</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</a>, <a class="el" href="class__operation_8php-source.html#l00043">cent</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a3"></a><!-- doxytag: member="jrn::GetRowSimple" ref="a3" args="($p_from, $p_to, $cent='off', $p_limit=-1, $p_offset=-1)" --><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">jrn::GetRowSimple </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </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>$ </td>
|
|
<td class="mdname" nowrap> <em>p_to</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>cent</em> = <code>'off'</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_limit</em> = <code>-1</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_offset</em> = <code>-1</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
GetRowSimple<p>
|
|
Get simplified row<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>:</em> </td><td><ul>
|
|
<li>connection</li></ul>
|
|
</td></tr>
|
|
</table>
|
|
</dl>
|
|
<ul>
|
|
<li>an array</li><li>p_limit starting line</li><li>p_offset number of lines</li></ul>
|
|
<p>
|
|
gen :<ul>
|
|
<li>none return:</li><li>an Array with the asked data</li></ul>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__jrn_8php-source.html#l00243">243</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>.
|
|
<p>
|
|
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="class__jrn_8php-source.html#l00025">$id</a>, <a class="el" href="show__pj_8php-source.html#l00046">$jrn</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="class__operation_8php-source.html#l00043">cent</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</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="o2"></a><!-- doxytag: member="jrn::$db" 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">jrn::$db </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="class__jrn_8php-source.html#l00027">27</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o0"></a><!-- doxytag: member="jrn::$id" 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">jrn::$<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>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__jrn_8php-source.html#l00025">25</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="class__jrn_8php-source.html#l00243">GetRowSimple()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o1"></a><!-- doxytag: member="jrn::$name" 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">jrn::$<a class="el" href="ecrit__ouv_8php.html#a8">name</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="class__jrn_8php-source.html#l00026">26</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o3"></a><!-- doxytag: member="jrn::$row" ref="o3" 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">jrn::$row </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="class__jrn_8php-source.html#l00028">28</a> of file <a class="el" href="class__jrn_8php-source.html">class_jrn.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__jrn_8php-source.html">class_jrn.php</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:49 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>
|