altocompta/doc/developper/html/impress__inc_8php.html

708 lines
31 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/impress_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>impress_inc.php File Reference</h1>
<p>
<a href="impress__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="impress__inc_8php.html#a0">ViewImp</a> ($p_array, $p_cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a1">Imp</a> ($p_array, $p_cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a2">ImpHtml</a> ($p_array, $p_cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a3">GetDataPoste</a> ($p_cn, $p_poste, $p_condition)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a4">GetDataJrn</a> ($p_cn, $p_array, $filter=<a class="el" href="constant_8php.html#a40">YES</a>)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a5">CreatePeriodeCond</a> ($p_periode, $p_field=&quot; j_tech_per&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a6">GetDataJrnPdf</a> ($p_cn, $p_array, $p_limit, $p_offset)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a7">GetDataGrpt</a> ($p_cn, $p_array)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a8">GetRappel</a> ($p_cn, $p_jrnx_id, $p_jrn_id, $p_exercice, $which, $p_type, $p_central)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a9">ParseFormula</a> ($p_cn, $p_label, $p_formula, $p_start, $p_end, $p_eval=true)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a10">GetFormulaValue</a> ($p_cn, $p_label, $p_formula, $p_cond)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="impress__inc_8php.html#a11">CheckFormula</a> ($p_string)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="a11"></a><!-- doxytag: member="impress_inc.php::CheckFormula" ref="a11" args="($p_string)" --><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">CheckFormula </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_string</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>
CheckFormula<p>
Check if formula doesn't contain php injection<p>
parm :<ul>
<li>string gen :</li><li>return: none : stop on error</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00869">869</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
Referenced by <a class="el" href="form__inc_8php-source.html#l00267">AddForm()</a>, <a class="el" href="impress__inc_8php-source.html#l00726">ParseFormula()</a>, and <a class="el" href="form__inc_8php-source.html#l00208">UpdateForm()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="impress_inc.php::CreatePeriodeCond" ref="a5" args="($p_periode, $p_field=&quot; j_tech_per&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">CreatePeriodeCond </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_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_field</em> = <code>&quot;&nbsp;j_tech_per&quot;</code></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>
CreatePeriodeCond Create the sql query for the periode<p>
parm :<ul>
<li>p_periode</li></ul>
<p>
p_field (default = j_tech_per) gen :<ul>
<li>none return:</li><li>a string containing the query</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00374">374</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="send__poste__pdf_8php-source.html#l00052">$cond</a>, and <a class="el" href="impress__fiche_8php-source.html#l00085">$old</a>.
<p>
Referenced by <a class="el" href="impress__inc_8php-source.html#l00582">GetDataGrpt()</a>, <a class="el" href="impress__inc_8php-source.html#l00308">GetDataJrn()</a>, <a class="el" href="impress__inc_8php-source.html#l00423">GetDataJrnPdf()</a>, and <a class="el" href="impress__inc_8php-source.html#l00119">ImpHtml()</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="impress_inc.php::GetDataGrpt" ref="a7" args="($p_cn, $p_array)" --><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">GetDataGrpt </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_array</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>
parm :<ul>
<li>gen :</li><li>return:</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00582">582</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00052">$cond</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="impress__inc_8php-source.html#l00374">CreatePeriodeCond()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="impress_inc.php::GetDataJrn" ref="a4" args="($p_cn, $p_array, $filter=YES)" --><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">GetDataJrn </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_array</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>filter</em> = <code><a class="el" href="constant_8php.html#a40">YES</a></code></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>
GetDataJrn Get data from the jrn table<p>
parm :<ul>
<li>connection</li></ul>
<p>
array periode<ul>
<li>filter (default = YES) gen :<ul>
<li>none return:</li><li>error code if something code wrong otherwise the result</li></ul>
</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00308">308</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00052">$cond</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="impress__inc_8php-source.html#l00374">CreatePeriodeCond()</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
<p>
Referenced by <a class="el" href="impress__inc_8php-source.html#l00119">ImpHtml()</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="impress_inc.php::GetDataJrnPdf" ref="a6" args="($p_cn, $p_array, $p_limit, $p_offset)" --><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">GetDataJrnPdf </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_array</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_limit</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_offset</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>
GetDataJrnPdf Get The data for the pdf printing<p>
parm :<ul>
<li>connection</li></ul>
<p>
array<ul>
<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="impress__inc_8php-source.html#l00423">423</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00273">$a</a>, <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00052">$cond</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="eub__be_8inc_8php-source.html#l00055">$Sql</a>, <a class="el" href="impress__inc_8php-source.html#l00374">CreatePeriodeCond()</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="impress_inc.php::GetDataPoste" ref="a3" args="($p_cn, $p_poste, $p_condition)" --><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">GetDataPoste </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_poste</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_condition</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>
GetDataPoste Get dat for poste<p>
parm :<ul>
<li>connection<ul>
<li>condition -. position gen :</li><li>none return:</li><li>none</li></ul>
</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00267">267</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
<p>
Referenced by <a class="el" href="impress__inc_8php-source.html#l00119">ImpHtml()</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="impress_inc.php::GetFormulaValue" ref="a10" args="($p_cn, $p_label, $p_formula, $p_cond)" --><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">GetFormulaValue </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_label</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_formula</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_cond</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>
GetFormulaValue Parse the formula contained in the fo_formula field and return a array containing all the columns<p>
parm :<ul>
<li>$p_cn connexion</li></ul>
<p>
$p_label<ul>
<li>$p_formula gen :<ul>
<li>none return:</li><li>array</li></ul>
</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00814">814</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="bank_8inc_8php-source.html#l00109">$l</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
<p>
Referenced by <a class="el" href="impress__inc_8php-source.html#l00119">ImpHtml()</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="impress_inc.php::GetRappel" ref="a8" args="($p_cn, $p_jrnx_id, $p_jrn_id, $p_exercice, $which, $p_type, $p_central)" --><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">GetRappel </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_jrnx_id</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" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_exercice</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>which</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_type</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_central</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>
GetRappel Get the amount on each page<p>
parm :<ul>
<li>$p_cn</li></ul>
<p>
$p_jrnx_id jrnx.j_id<ul>
<li>$p_jrn_id jrn.jr_id</li><li>$which LAST or FIRST</li><li>$p_type valeur JRN GL-CENTRAL GL-NOCENTRAL gen :<ul>
<li>return:</li><li>array sum (deb) sum(cred)</li></ul>
</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00616">616</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="action_8inc_8php-source.html#l00273">$a</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="bank_8inc_8php-source.html#l00104">$sql</a>, <a class="el" href="postgres_8php-source.html#l00222">CountSql()</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="a1"></a><!-- doxytag: member="impress_inc.php::Imp" ref="a1" args="($p_array, $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">Imp </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_array</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_cn</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>
Imp Show the html printing result<p>
parm :<ul>
<li>array</li></ul>
<p>
db connection gen :<ul>
<li>none return:</li><li>ImpHtml</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00097">97</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="ac__common_8php-source.html#l00036">echo_error()</a>, and <a class="el" href="impress__inc_8php-source.html#l00119">ImpHtml()</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="impress_inc.php::ImpHtml" ref="a2" args="($p_array, $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">ImpHtml </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_array</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_cn</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>
ImpHtml Show the html result<p>
parm :<ul>
<li>array (type,periode,</li></ul>
<p>
connection gen :<ul>
<li>none return:</li><li>error if something goes wrong or the page result</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00119">119</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="admin_8inc_8php-source.html#l00080">$c</a>, <a class="el" href="bilan_8php-source.html#l00072">$col</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00052">$cond</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="jrn__detail_8php-source.html#l00128">$l_line</a>, <a class="el" href="setup_8php-source.html#l00379">$Max</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00041">$nPoste</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00044">$poste</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="impress__fiche_8php-source.html#l00113">$solde</a>, <a class="el" href="impress__inc_8php-source.html#l00374">CreatePeriodeCond()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="impress__inc_8php-source.html#l00308">GetDataJrn()</a>, <a class="el" href="impress__inc_8php-source.html#l00267">GetDataPoste()</a>, <a class="el" href="impress__inc_8php-source.html#l00814">GetFormulaValue()</a>, and <a class="el" href="poste_8php-source.html#l00036">GetPosteLibelle()</a>.
<p>
Referenced by <a class="el" href="impress__inc_8php-source.html#l00097">Imp()</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="impress_inc.php::ParseFormula" ref="a9" args="($p_cn, $p_label, $p_formula, $p_start, $p_end, $p_eval=true)" --><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">ParseFormula </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_label</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_formula</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_start</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_end</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_eval</em> = <code>true</code></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>
ParseFormula Purpose Parse a formula<p>
parm :<ul>
<li>$p_cn connexion</li></ul>
<p>
$p_label<ul>
<li>$p_formula</li><li>$p_eval true if we eval here otherwise the function returns a string which must be evaluated gen :<ul>
<li>none return:</li><li>array</li></ul>
</li></ul>
<p>
<dl compact><dt><b>Note:</b></dt><dd>special value for the clause FROM=0000.00</dd></dl>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00726">726</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="send__poste__pdf_8php-source.html#l00052">$cond</a>, <a class="el" href="impress__fiche_8php-source.html#l00082">$e</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="impress__bilan_8php-source.html#l00032">$ret</a>, <a class="el" href="user__action__ach_8php-source.html#l00164">$User</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00091">$x</a>, <a class="el" href="impress__inc_8php-source.html#l00869">CheckFormula()</a>, <a class="el" href="postgres_8php-source.html#l00072">DbConnect()</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="ac__common_8php-source.html#l00335">getPeriodeFromMonth()</a>, and <a class="el" href="user__impress_8php-source.html#l00082">poste</a>.
<p>
Referenced by <a class="el" href="class__rapport_8php-source.html#l00053">rapport::GetRow()</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="impress_inc.php::ViewImp" ref="a0" args="($p_array, $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">ViewImp </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_array</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_cn</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>
ViewImp Create the form where the period is asked<p>
parm :<ul>
<li>array (type,action,central,filter...)</li></ul>
<p>
connection gen :<ul>
<li>none return:</li><li>none</li></ul>
<p>
Definition at line <a class="el" href="impress__inc_8php-source.html#l00036">36</a> of file <a class="el" href="impress__inc_8php-source.html">impress_inc.php</a>.
<p>
References <a class="el" href="jrn__pdf_8php-source.html#l00045">$centr</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="preference_8php-source.html#l00037">FormPeriodeMult()</a>, <a class="el" href="pref_8inc_8php-source.html#l00048">METHOD</a>, <a class="el" href="action_8inc_8php-source.html#l00170">name</a>, <a class="el" href="poste_8php-source.html#l00087">PosteForm()</a>, and <a class="el" href="action_8inc_8php-source.html#l00171">value</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 27 01:39:29 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>