altocompta/doc/developper/html/central__inc_8php.html

134 lines
6.8 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/include/central_inc.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_000006.html">include</a></div>
<h1>central_inc.php File Reference</h1>Concerns the centralization operations. <a href="#_details">More...</a>
<p>
<p>
<a href="central__inc_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>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="central__inc_8php.html#a0">Centralise</a> ($p_cn, $p_periode)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Met les donnees centralisees dans la table centralize. <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="central__inc_8php.html#a1">isCentralize</a> ($p_cn, $p_jrn_id)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">test if e <a class="el" href="impress__fiche_8php.html#a6">jrn_jr.id</a> is centralize or not <a href="#a1"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Concerns the centralization operations.
<p>
<p>
Definition in file <a class="el" href="central__inc_8php-source.html">central_inc.php</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="central_inc.php::Centralise" ref="a0" args="($p_cn, $p_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">Centralise </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_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>
Met les donnees centralisees dans la table centralize.
<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_cn</em>&nbsp;</td><td>connection </td></tr>
<tr><td valign="top"></td><td valign="top"><em>periode</em>&nbsp;</td><td>a centraliser</td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>code error</dd></dl>
<p>
Definition at line <a class="el" href="central__inc_8php-source.html#l00036">36</a> of file <a class="el" href="central__inc_8php-source.html">central_inc.php</a>.
<p>
References <a class="el" href="user__sec_8php-source.html#l00163">$MaxJrn</a>, <a class="el" href="jrn__search_8php-source.html#l00147">$MaxLine</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00074">$Res</a>, <a class="el" href="setup_8php-source.html#l00403">$Res2</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, <a class="el" href="postgres_8php-source.html#l00263">Commit()</a>, <a class="el" href="postgres_8php-source.html#l00260">EndSql()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="postgres_8php-source.html#l00257">StartSql()</a>.
<p>
Referenced by <a class="el" href="user__menu_8php-source.html#l00498">ShowMenuAdvanced()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="central_inc.php::isCentralize" ref="a1" args="($p_cn, $p_jrn_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">isCentralize </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_jrn_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>
test if e <a class="el" href="impress__fiche_8php.html#a6">jrn_jr.id</a> is centralize or not
<p>
parm :<ul>
<li>p_cn</li></ul>
<p>
p_jnr_id jrn.jr_id gen :<ul>
<li>none return: 0 if not centralized otherwise &gt; 0</li></ul>
<p>
Definition at line <a class="el" href="central__inc_8php-source.html#l00159">159</a> of file <a class="el" href="central__inc_8php-source.html">central_inc.php</a>.
<p>
References <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 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>