391 lines
18 KiB
HTML
391 lines
18 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/preference.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 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>
|
|
<div class="nav">
|
|
<a class="el" href="dir_000000.html">developpement</a> » <a class="el" href="dir_000001.html">phpcompta-dev</a> » <a class="el" href="dir_000002.html">phpcompta</a> » <a class="el" href="dir_000006.html">include</a></div>
|
|
<h1>preference.php File Reference</h1>include file for the periode form, currency,... <a href="#_details">More...</a>
|
|
<p>
|
|
|
|
<p>
|
|
<a href="preference_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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="preference_8php.html#a0">FormPeriodeMult</a> ($p_cn)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Generate the form for the periode. <a href="#a0"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="preference_8php.html#a1">FormPeriode</a> ($p_cn, $l_default=0, $p_type=<a class="el" href="constant_8php.html#a41">OPEN</a>, $p_suff="")</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Generate the form for the periode. <a href="#a1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="preference_8php.html#a2">GetPeriode</a> ($p_cn, $p_periode)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Give the start & end date of a periode. <a href="#a2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="preference_8php.html#a3">PeriodeClosed</a> ($p_cn, $p_periode)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">get the status of a periode <a href="#a3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="preference_8php.html#a4">GetExercice</a> ($p_cn, $p_periode)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">get the exercice of a periode <a href="#a4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="preference_8php.html#a5">ShowDevise</a> ($p_cn)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Show all the currency encoded. <a href="#a5"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="preference_8php.html#a6">ShowPeriode</a> ($p_cn)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Show all the periode and their status. <a href="#a6"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
include file for the periode form, currency,...
|
|
<p>
|
|
|
|
<p>
|
|
Definition in file <a class="el" href="preference_8php-source.html">preference.php</a>.<hr><h2>Function Documentation</h2>
|
|
<a class="anchor" name="a1"></a><!-- doxytag: member="preference.php::FormPeriode" ref="a1" args="($p_cn, $l_default=0, $p_type=OPEN, $p_suff="")" --><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">FormPeriode </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>l_default</em> = <code>0</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_type</em> = <code><a class="el" href="constant_8php.html#a41">OPEN</a></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_suff</em> = <code>""</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>
|
|
Generate the form for the 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_cn</em> </td><td>connexion </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_default</em> </td><td>default periode </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_type</em> </td><td>the type of the periode </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_suff</em> </td><td>the suffix of the name</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>string containing html code for the HTML</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="preference_8php-source.html#l00071">71</a> of file <a class="el" href="preference_8php-source.html">preference.php</a>.
|
|
<p>
|
|
References <a class="el" href="jrn__detail_8php-source.html#l00124">$l_line</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="class__operation_8php-source.html#l00087">$ret</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</a>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a0"></a><!-- doxytag: member="preference.php::FormPeriodeMult" 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">FormPeriodeMult </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>p_cn</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>
|
|
Generate the form for the periode.
|
|
<p>
|
|
FormPeriodeMult<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> </td><td>connexion</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>string containing html code for the form</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="preference_8php-source.html#l00037">37</a> of file <a class="el" href="preference_8php-source.html">preference.php</a>.
|
|
<p>
|
|
References <a class="el" href="jrn__detail_8php-source.html#l00124">$l_line</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="class__operation_8php-source.html#l00087">$ret</a>, <a class="el" href="facture_8inc_8php-source.html#l00082">$sql</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#l00036">ViewImp()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a4"></a><!-- doxytag: member="preference.php::GetExercice" ref="a4" 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">GetExercice </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_periode</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>
|
|
get the exercice 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_cn</em> </td><td>connection </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>$p_periode</em> </td><td>periode</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Exercice of the periode</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="preference_8php-source.html#l00165">165</a> of file <a class="el" href="preference_8php-source.html">preference.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>
|
|
<a class="anchor" name="a2"></a><!-- doxytag: member="preference.php::GetPeriode" ref="a2" 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">GetPeriode </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_periode</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>
|
|
Give the start & end date of a periode.
|
|
<p>
|
|
GetPeriode<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_connection</em> </td><td></td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>p_periode</em> </td><td></td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>array containing the start date & the end date</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="preference_8php-source.html#l00122">122</a> of file <a class="el" href="preference_8php-source.html">preference.php</a>.
|
|
<p>
|
|
References <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>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="user__form__ach_8php-source.html#l00044">FormAchInput()</a>, <a class="el" href="user__form__fin_8php-source.html#l00147">FormFin()</a>, <a class="el" href="user__form__ods_8php-source.html#l00045">FormODS()</a>, <a class="el" href="user__form__ven_8php-source.html#l00043">FormVenInput()</a>, <a class="el" href="jrn_8php-source.html#l00038">RecordJrn()</a>, <a class="el" href="jrn_8php-source.html#l00834">VerifData()</a>, and <a class="el" href="user__common_8php-source.html#l00653">VerifyOperationDate()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a3"></a><!-- doxytag: member="preference.php::PeriodeClosed" ref="a3" 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">PeriodeClosed </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_periode</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>
|
|
get the status 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_cn</em> </td><td>database connex </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>periode</em> </td><td>id</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>true if closed</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="preference_8php-source.html#l00143">143</a> of file <a class="el" href="preference_8php-source.html">preference.php</a>.
|
|
<p>
|
|
References <a class="el" href="jrn__detail_8php-source.html#l00124">$l_line</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>, and <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="jrn_8php-source.html#l00834">VerifData()</a>, and <a class="el" href="user__common_8php-source.html#l00653">VerifyOperationDate()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a5"></a><!-- doxytag: member="preference.php::ShowDevise" ref="a5" 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">ShowDevise </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>p_cn</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>
|
|
Show all the currency encoded.
|
|
<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> </td><td>database connextion</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>nothing</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="preference_8php-source.html#l00182">182</a> of file <a class="el" href="preference_8php-source.html">preference.php</a>.
|
|
<p>
|
|
References <a class="el" href="jrn__detail_8php-source.html#l00124">$l_line</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="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="pref_8inc_8php-source.html#l00045">METHOD</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a6"></a><!-- doxytag: member="preference.php::ShowPeriode" ref="a6" 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">ShowPeriode </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>p_cn</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>
|
|
Show all the periode and their status.
|
|
<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> </td><td>database connection</td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>nothing</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="preference_8php-source.html#l00221">221</a> of file <a class="el" href="preference_8php-source.html">preference.php</a>.
|
|
<p>
|
|
References <a class="el" href="jrn__detail_8php-source.html#l00124">$l_line</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="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="pref_8inc_8php-source.html#l00045">METHOD</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 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>
|