397 lines
17 KiB
HTML
397 lines
17 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/impress_rapport.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>impress_rapport.php File Reference</h1>print first the report in html and propose to print it in pdf <a href="#_details">More...</a>
|
||
<p>
|
||
|
||
<p>
|
||
<a href="impress__rapport_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="impress__rapport_8php.html#a12">ShowReportResult</a> ($p_array)</td></tr>
|
||
|
||
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a0">$Form</a> = new <a class="el" href="classrapport.html">rapport</a>($cn,$_POST['form_id'])</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a1">$submit</a> = new <a class="el" href="classwidget.html">widget</a>()</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a2">$hid</a> = new <a class="el" href="classwidget.html">widget</a>("hidden")</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a3">$t</a> = ($_POST['from_periode']==$_POST['to_periode'])?"":" -> ".getPeriodeName($cn,$_POST['to_periode'],'p_end')</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a4">exit</a></td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a5">$ret</a></td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a6">table</a> = 1</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a7">label</a> = "Choississez le <a class="el" href="classrapport.html">rapport</a>"</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a8">print</a></td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a9">$periode_start</a> = make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id")</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a10">$periode_end</a> = make_array($cn,"select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode order by p_id")</td></tr>
|
||
|
||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="impress__rapport_8php.html#a8">print</a></TR > </td><td class="memItemRight" valign="bottom"><a class="el" href="impress__rapport_8php.html#a11">$aStep</a></td></tr>
|
||
|
||
</table>
|
||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||
print first the report in html and propose to print it in pdf
|
||
<p>
|
||
|
||
<p>
|
||
Definition in file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>.<hr><h2>Function Documentation</h2>
|
||
<a class="anchor" name="a12"></a><!-- doxytag: member="impress_rapport.php::ShowReportResult" ref="a12" args="($p_array)" --><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">ShowReportResult </td>
|
||
<td class="md" valign="top">( </td>
|
||
<td class="md" nowrap valign="top">$ </td>
|
||
<td class="mdname1" valign="top" nowrap> <em>p_array</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>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00160">160</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>.
|
||
<p>
|
||
References <a class="el" href="balance_8php-source.html#l00113">$i</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<hr><h2>Variable Documentation</h2>
|
||
<a class="anchor" name="a11"></a><!-- doxytag: member="impress_rapport.php::$aStep" 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"><a class="el" href="impress__rapport_8php.html#a8">print</a></TR> $aStep </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
<b>Initial value:</b><div class="fragment"><pre class="fragment">array(
|
||
array('<a class="code" href="client_8inc_8php.html#a6">value</a>'=>0,'<a class="code" href="balance_8php.html#a5">label</a>'=>'Pas d\'<27>tape'),
|
||
array('<a class="code" href="client_8inc_8php.html#a6">value</a>'=>1,'<a class="code" href="balance_8php.html#a5">label</a>'=>'1 mois')
|
||
)
|
||
</pre></div>
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00144">144</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a0"></a><!-- doxytag: member="impress_rapport.php::$Form" 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">$Form = new <a class="el" href="classrapport.html">rapport</a>($cn,$_POST['form_id']) </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00032">32</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a2"></a><!-- doxytag: member="impress_rapport.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>("hidden") </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00056">56</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a10"></a><!-- doxytag: member="impress_rapport.php::$periode_end" 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">$periode_end = make_array($cn,"select p_id,to_char(p_end,'DD-MM-YYYY') from parm_periode order by p_id") </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00141">141</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a9"></a><!-- doxytag: member="impress_rapport.php::$periode_start" 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">$periode_start = make_array($cn,"select p_id,to_char(p_start,'DD-MM-YYYY') from parm_periode order by p_id") </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00137">137</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a5"></a><!-- doxytag: member="impress_rapport.php::$ret" 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">$ret </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
<b>Initial value:</b><div class="fragment"><pre class="fragment"><a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select fr_id,fr_label</span>
|
||
<span class="stringliteral"> from formdef</span>
|
||
<span class="stringliteral"> order by fr_label"</span>)
|
||
</pre></div>
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00118">118</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a1"></a><!-- doxytag: member="impress_rapport.php::$submit" 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">$submit = new <a class="el" href="classwidget.html">widget</a>() </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00055">55</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a3"></a><!-- doxytag: member="impress_rapport.php::$t" 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">$t = ($_POST['from_periode']==$_POST['to_periode'])?"":" -> ".getPeriodeName($cn,$_POST['to_periode'],'p_end') </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00058">58</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>.
|
||
<p>
|
||
Referenced by <a class="el" href="class_8pdf_8php-source.html#l01138">Cpdf::ARC4()</a>, <a class="el" href="class_8pdf_8php-source.html#l01112">Cpdf::ARC4_init()</a>, <a class="el" href="class_8ezpdf_8php-source.html#l00607">Cezpdf::ezTable()</a>, <a class="el" href="class__document__modele_8php-source.html#l00251">Document_modele::form()</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="class__fiche__def_8php-source.html#l00097">fiche_def_ref::Input()</a>, <a class="el" href="user__form__ven_8php-source.html#l00630">RecordInvoice()</a>, <a class="el" href="class__attribut_8php-source.html#l00050">SortAttributeById()</a>, and <a class="el" href="class__customer_8php-source.html#l00084">Customer::VatListing()</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a4"></a><!-- doxytag: member="impress_rapport.php::exit" 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"><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>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00110">110</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a7"></a><!-- doxytag: member="impress_rapport.php::label" 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">$w <a class="el" href="ecrit__ouv_8php.html#a5">label</a> = "Choississez le <a class="el" href="classrapport.html">rapport</a>" </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00133">133</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a8"></a><!-- doxytag: member="impress_rapport.php::print" 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"><a class="el" href="impress__rapport_8php.html#a8">print</a> </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00135">135</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.php</a>. </td>
|
||
</tr>
|
||
</table>
|
||
<a class="anchor" name="a6"></a><!-- doxytag: member="impress_rapport.php::table" 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">$w <a class="el" href="parametre_8php.html#a16">table</a> = 1 </td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<table cellspacing="5" cellpadding="0" border="0">
|
||
<tr>
|
||
<td>
|
||
|
||
</td>
|
||
<td>
|
||
|
||
<p>
|
||
|
||
<p>
|
||
Definition at line <a class="el" href="impress__rapport_8php-source.html#l00132">132</a> of file <a class="el" href="impress__rapport_8php-source.html">impress_rapport.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
|
||
<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>
|