altocompta/doc/developper/html/user__action__gl_8php.html

433 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: /home/dany/developpement/phpcompta-dev/phpcompta/include/user_action_gl.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>user_action_gl.php File Reference</h1>included file for the great ledger <a href="#_details">More...</a>
<p>
<p>
<a href="user__action__gl_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="user__action__gl_8php.html#a0">$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="user__action__gl_8php.html#a1">exit</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a2">$hid</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;hidden&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$hid&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a3">name</a> = &quot;jrn_type&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$hid&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a4">value</a> = &quot;NONE&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a5">$w</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;select&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a6">$periode_start</a> = make_array($cn,&quot;select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a7">$User</a> = new <a class="el" href="classcl__user.html">cl_user</a>($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a8">$current</a> = (isset($_GET['p_periode']))?$_GET['p_periode']:$User-&gt;GetPeriode()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a9">selected</a> = $current</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a10">$sql</a> = SQL_LIST_ALL_INVOICE.&quot; and jr_tech_per=&quot;.$current</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a11">$step</a> = $_SESSION['g_pagesize']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a12">$page</a> = (isset($_GET['offset']))?$_GET['page']:1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a13">$offset</a> = (isset($_GET['offset']))?$_GET['offset']:0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="user__action__gl_8php.html#a14">$bar</a> = jrn_navigation_bar($offset,$max_line,$step,$page)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
included file for the great ledger
<p>
<p>
Definition in file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a14"></a><!-- doxytag: member="user_action_gl.php::$bar" ref="a14" 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">$bar = jrn_navigation_bar($offset,$max_line,$step,$page) </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="user__action__gl_8php-source.html#l00070">70</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="user_action_gl.php::$cn" 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">$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="user__action__gl_8php-source.html#l00032">32</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="user_action_gl.php::$current" 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">$current = (isset($_GET['p_periode']))?$_GET['p_periode']:$User-&gt;GetPeriode() </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="user__action__gl_8php-source.html#l00055">55</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="user_action_gl.php::$hid" 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">$hid = new <a class="el" href="classwidget.html">widget</a>(&quot;hidden&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="user__action__gl_8php-source.html#l00041">41</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a13"></a><!-- doxytag: member="user_action_gl.php::$offset" ref="a13" 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">$offset = (isset($_GET['offset']))?$_GET['offset']:0 </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="user__action__gl_8php-source.html#l00066">66</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="user_action_gl.php::$page" ref="a12" 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">$page = (isset($_GET['offset']))?$_GET['page']:1 </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="user__action__gl_8php-source.html#l00065">65</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="user_action_gl.php::$periode_start" 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">$periode_start = make_array($cn,&quot;select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id&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="user__action__gl_8php-source.html#l00053">53</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="user_action_gl.php::$sql" 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">$sql = SQL_LIST_ALL_INVOICE.&quot; and jr_tech_per=&quot;.$current </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="user__action__gl_8php-source.html#l00062">62</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="user_action_gl.php::$step" 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">$step = $_SESSION['g_pagesize'] </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="user__action__gl_8php-source.html#l00064">64</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="user_action_gl.php::$User" 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">$User = new <a class="el" href="classcl__user.html">cl_user</a>($cn) </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="user__action__gl_8php-source.html#l00054">54</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="user_action_gl.php::$w" 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">$w = new <a class="el" href="classwidget.html">widget</a>(&quot;select&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="user__action__gl_8php-source.html#l00051">51</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="user_action_gl.php::exit" 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"><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="user__action__gl_8php-source.html#l00034">34</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="user_action_gl.php::name" 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">$hid <a class="el" href="ecrit__ouv_8php.html#a8">name</a> = &quot;jrn_type&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="user__action__gl_8php-source.html#l00043">43</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="user_action_gl.php::selected" 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">$w <a class="el" href="user__action__ven_8php.html#a13">selected</a> = $current </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="user__action__gl_8php-source.html#l00056">56</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="user_action_gl.php::value" 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">$hid <a class="el" href="ecrit__ouv_8php.html#a7">value</a> = &quot;NONE&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="user__action__gl_8php-source.html#l00044">44</a> of file <a class="el" href="user__action__gl_8php-source.html">user_action_gl.php</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 23 00:12:47 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>