altocompta/doc/developper/html/classparm__code.html
2006-06-23 22:58:35 +00:00

374 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: parm_code 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>parm_code Class Reference</h1><!-- doxytag: class="parm_code" -->Manage the table parm_code which contains the custom parameter for the module accountancy.
<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="classparm__code.html#a0">parm_code</a> ($p_cn, $p_id=-1)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classparm__code.html#a1">LoadAll</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load all parmCode return an array of parm_code object. <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="classparm__code.html#a2">Save</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">update a parm_object into the database p_code is _not_ updatable <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="classparm__code.html#a3">Display</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display an object, with the <p>
tag. <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="classparm__code.html#a4">Input</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Display a form to enter info about a parm_code object with the <p>
tag. <a href="#a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classparm__code.html#a5">Get</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Complete a parm_code object thanks the p_code. <a href="#a5"></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="classparm__code.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="classparm__code.html#o1">$p_code</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classparm__code.html#o2">$p_value</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classparm__code.html#o3">$p_comment</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Manage the table parm_code which contains the custom parameter for the module accountancy.
<p>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00030">30</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="parm_code::parm_code" ref="a0" args="($p_cn, $p_id=-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">parm_code::parm_code </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> = <code>-1</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>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00036">36</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.
<p>
References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>, and <a class="el" href="class__parm__code_8php-source.html#l00141">Get()</a>.
<p>
Referenced by <a class="el" href="class__parm__code_8php-source.html#l00052">LoadAll()</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a3"></a><!-- doxytag: member="parm_code::Display" ref="a3" 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">parm_code::Display </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>
Display an object, with the <p>
tag.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>string</dd></dl>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00096">96</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.
<p>
References <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="parm_code::Get" ref="a5" 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">parm_code::Get </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>
Complete a parm_code object thanks the p_code.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>array</dd></dl>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00141">141</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.
<p>
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="depense_8inc_8php-source.html#l00072">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="poste_8inc_8php-source.html#l00033">p_comment</a>, and <a class="el" href="poste_8inc_8php-source.html#l00034">p_value</a>.
<p>
Referenced by <a class="el" href="class__parm__code_8php-source.html#l00036">parm_code()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="parm_code::Input" ref="a4" 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">parm_code::Input </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>
Display a form to enter info about a parm_code object with the <p>
tag.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>string</dd></dl>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00112">112</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.
<p>
References <a class="el" href="user__action__ven_8php-source.html#l00118">$comment</a>, <a class="el" href="send__poste__pdf_8php-source.html#l00044">$poste</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="poste_8inc_8php-source.html#l00033">p_comment</a>, and <a class="el" href="poste_8inc_8php-source.html#l00034">p_value</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="parm_code::LoadAll" 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">parm_code::LoadAll </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>
Load all parmCode return an array of parm_code object.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>array</dd></dl>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00052">52</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.
<p>
References <a class="el" href="recherche_8php-source.html#l00066">$array</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00062">$idx</a>, <a class="el" href="fiche__csv_8php-source.html#l00049">$o</a>, <a class="el" href="user__action__ach_8php-source.html#l00052">$r</a>, <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="depense_8inc_8php-source.html#l00072">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="class__parm__code_8php-source.html#l00036">parm_code()</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="parm_code::Save" 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">parm_code::Save </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>
update a parm_object into the database p_code is _not_ updatable
<p>
<dl compact><dt><b>Returns:</b></dt><dd>nothing</dd></dl>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00076">76</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>.
<p>
References <a class="el" href="depense_8inc_8php-source.html#l00073">$Res</a>, <a class="el" href="depense_8inc_8php-source.html#l00072">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="ac__common_8php-source.html#l00207">FormatString()</a>, <a class="el" href="poste_8inc_8php-source.html#l00033">p_comment</a>, and <a class="el" href="poste_8inc_8php-source.html#l00034">p_value</a>. </td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o0"></a><!-- doxytag: member="parm_code::$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">parm_code::$db </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
database connection
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00031">31</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o1"></a><!-- doxytag: member="parm_code::$p_code" 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">parm_code::$p_code </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
parm_code.p_code primary key
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00032">32</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o3"></a><!-- doxytag: member="parm_code::$p_comment" 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">parm_code::$<a class="el" href="poste_8inc_8php.html#a1">p_comment</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<a class="el" href="poste_8inc_8php.html#a1">parm_code.p_comment</a>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00034">34</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o2"></a><!-- doxytag: member="parm_code::$p_value" 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">parm_code::$<a class="el" href="poste_8inc_8php.html#a2">p_value</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<a class="el" href="poste_8inc_8php.html#a2">parm_code.p_value</a>
<p>
Definition at line <a class="el" href="class__parm__code_8php-source.html#l00033">33</a> of file <a class="el" href="class__parm__code_8php-source.html">class_parm_code.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__parm__code_8php-source.html">class_parm_code.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sat Jun 24 00:05:16 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>