altocompta/doc/developper/html/line__update_8php.html

358 lines
15 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/html/line_update.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_000003.html">html</a></div>
<h1>line_update.php File Reference</h1>Modify the "Plan Comptable". <a href="#_details">More...</a>
<p>
<p>
<a href="line__update_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>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a0">$rep</a> = DbConnect()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a1">$User</a> = new <a class="el" href="classcl__user.html">cl_user</a>($rep)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a2">exit</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a3">$cn</a> = DbConnect($_SESSION['g_dossier'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a4">$p_val</a> = trim($_POST[&quot;p_val&quot;])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a5">$p_lib</a> = FormatString($_POST[&quot;p_name&quot;])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a6">$p_parent</a> = trim($_POST[&quot;p_val_parent&quot;])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a7">$old_line</a> = trim($_POST[&quot;p_old&quot;])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a8">$Ret</a> = ExecSql($cn,&quot;select pcm_val from tmp_pcmn where pcm_val=$p_parent&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a9">$l</a> = $_GET['l']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a10">$p</a> = $_GET['p']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="line__update_8php.html#a11">$n</a> = $_GET['n']</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Modify the "Plan Comptable".
<p>
<p>
Definition in file <a class="el" href="line__update_8php-source.html">line_update.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a3"></a><!-- doxytag: member="line_update.php::$cn" 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">$cn = DbConnect($_SESSION['g_dossier']) </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="line__update_8php-source.html#l00054">54</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="line_update.php::$l" ref="a9" 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">$l = $_GET['l'] </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="line__update_8php-source.html#l00094">94</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="line_update.php::$n" ref="a11" 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">$n = $_GET['n'] </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="line__update_8php-source.html#l00096">96</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="line_update.php::$old_line" ref="a7" 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">$old_line = trim($_POST[&quot;p_old&quot;]) </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="line__update_8php-source.html#l00058">58</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="line_update.php::$p" ref="a10" 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">$p = $_GET['p'] </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="line__update_8php-source.html#l00095">95</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>.
<p>
Referenced by <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, and <a class="el" href="class_8pdf_8php-source.html#l01184">Cpdf::setEncryption()</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="line_update.php::$p_lib" 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">$p_lib = FormatString($_POST[&quot;p_name&quot;]) </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="line__update_8php-source.html#l00056">56</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="line_update.php::$p_parent" ref="a6" 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">$p_parent = trim($_POST[&quot;p_val_parent&quot;]) </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="line__update_8php-source.html#l00057">57</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>.
<p>
Referenced by <a class="el" href="fiche__inc_8php-source.html#l00038">AddFiche()</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="line_update.php::$p_val" 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">$p_val = trim($_POST[&quot;p_val&quot;]) </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="line__update_8php-source.html#l00055">55</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="line_update.php::$rep" ref="a0" 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">$rep = DbConnect() </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="line__update_8php-source.html#l00034">34</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="line_update.php::$Ret" ref="a8" 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">$Ret = ExecSql($cn,&quot;select pcm_val from tmp_pcmn where pcm_val=$p_parent&quot;) </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="line__update_8php-source.html#l00070">70</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>.
<p>
Referenced by <a class="el" href="central__inc_8php-source.html#l00036">Centralise()</a>, <a class="el" href="class__fiche_8php-source.html#l00289">fiche::CountByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00074">fiche_def::Get()</a>, <a class="el" href="class__fiche_8php-source.html#l00094">fiche_def::GetAll()</a>, <a class="el" href="class__fiche_8php-source.html#l00188">fiche::getAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00051">fiche_def::GetAttribut()</a>, <a class="el" href="class__fiche_8php-source.html#l00315">fiche::GetByDef()</a>, <a class="el" href="class__fiche_8php-source.html#l00258">fiche::GetByType()</a>, <a class="el" href="postgres_8php-source.html#l00232">GetDossierName()</a>, <a class="el" href="user__menu_8php-source.html#l00220">GetFirstJrnIdForJrnType()</a>, <a class="el" href="postgres_8php-source.html#l00315">GetUserProperty()</a>, <a class="el" href="class__fiche_8php-source.html#l00533">fiche::insert()</a>, <a class="el" href="user__menu_8php-source.html#l00651">MenuJrn()</a>, <a class="el" href="jrn_8php-source.html#l00930">NextJrn()</a>, <a class="el" href="class__document__modele_8php-source.html#l00103">Document_modele::Save()</a>, <a class="el" href="user__menu_8php-source.html#l00704">ShowMenuComptaForm()</a>, <a class="el" href="user__menu_8php-source.html#l00246">ShowMenuJrnUser()</a>, and <a class="el" href="class__fiche_8php-source.html#l00633">fiche::update()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="line_update.php::$User" 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">$User = new <a class="el" href="classcl__user.html">cl_user</a>($rep) </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="line__update_8php-source.html#l00036">36</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="line_update.php::exit" 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"><a class="el" href="user__sec_8php.html#a3">exit</a> </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="line__update_8php-source.html#l00043">43</a> of file <a class="el" href="line__update_8php-source.html">line_update.php</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>