altocompta/doc/developper/html/sec__pdf_8php.html

303 lines
11 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/sec_pdf.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>sec_pdf.php File Reference</h1>Print the user security in pdf. <a href="#_details">More...</a>
<p>
<p>
<a href="sec__pdf_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="sec__pdf_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="sec__pdf_8php.html#a1">$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="sec__pdf_8php.html#a2">$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="sec__pdf_8php.html#a3">exit</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sec__pdf_8php.html#a4">$SecUser</a> = new <a class="el" href="classcl__user.html">cl_user</a>($rep,$_GET['user_id'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sec__pdf_8php.html#a5">$pdf</a> = &amp; new <a class="el" href="classCezpdf.html">Cezpdf</a>(&quot;A4&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sec__pdf_8php.html#a6">$str_user</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sec__pdf_8php.html#a7">$Res</a> = ExecSql($cn,&quot;select jrn_def_id,jrn_def_name from jrn_def &quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sec__pdf_8php.html#a8">$a_jrn</a> [$e]['jrn_name'] = $row['jrn_def_name']</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sec__pdf_8php.html#a9">$priv</a> = CheckJrn($_SESSION['g_dossier'],$SecUser-&gt;login,$row['jrn_def_id'])</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Print the user security in pdf.
<p>
<p>
Definition in file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a8"></a><!-- doxytag: member="sec_pdf.php::$a_jrn" ref="a8" args="[$e]['jrn_name']" --><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_jrn[$e]['jrn_name'] = $row['jrn_def_name'] </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="sec__pdf_8php-source.html#l00082">82</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="sec_pdf.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="sec__pdf_8php-source.html#l00036">36</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="sec_pdf.php::$pdf" 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">$pdf = &amp; new <a class="el" href="classCezpdf.html">Cezpdf</a>(&quot;A4&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="sec__pdf_8php-source.html#l00062">62</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="sec_pdf.php::$priv" 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">$priv = CheckJrn($_SESSION['g_dossier'],$SecUser-&gt;login,$row['jrn_def_id']) </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="sec__pdf_8php-source.html#l00083">83</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="sec_pdf.php::$rep" 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">$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="sec__pdf_8php-source.html#l00041">41</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="sec_pdf.php::$Res" 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">$Res = ExecSql($cn,&quot;select jrn_def_id,jrn_def_name from jrn_def &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="sec__pdf_8php-source.html#l00079">79</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="sec_pdf.php::$SecUser" 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">$SecUser = new <a class="el" href="classcl__user.html">cl_user</a>($rep,$_GET['user_id']) </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="sec__pdf_8php-source.html#l00056">56</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="sec_pdf.php::$str_user" 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">$str_user </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<b>Initial value:</b><div class="fragment"><pre class="fragment">sprintf(<span class="stringliteral">"( %d ) %s %s [ %s ]"</span>,
$SecUser-&gt;id,
$SecUser-&gt;first_name,
$SecUser-&gt;name,
$SecUser-&gt;login)
</pre></div>
<p>
Definition at line <a class="el" href="sec__pdf_8php-source.html#l00064">64</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="sec_pdf.php::$User" 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">$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="sec__pdf_8php-source.html#l00043">43</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="sec_pdf.php::exit" 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"><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="sec__pdf_8php-source.html#l00049">49</a> of file <a class="el" href="sec__pdf_8php-source.html">sec_pdf.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>