altocompta/doc/developper/html/contact_8inc_8php.html
2006-07-12 21:24:48 +00:00

380 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: contact.inc.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">include</a></div>
<h1>contact.inc.php File Reference</h1>File for adding contact, contact is a kind of fichethe contact class is derived from the class fiche the contact is in fact a card but more specific This file is included from the module "Gestion". <a href="#_details">More...</a>
<p>
<p>
<a href="contact_8inc_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="contact_8inc_8php.html#a0">$sub_action</a> = (isset($_REQUEST['sa']))?$_REQUEST['sa']:&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a1">$h_url</a> = sprintf('&lt;input type=&quot;hidden&quot; name=&quot;url&quot; value=&quot;%s&quot;&gt;',urldecode($_REQUEST['url']))</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a2">$c</a> = new <a class="el" href="classcontact.html">contact</a>($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a3">$url</a> = urlencode($_SERVER['REQUEST_URI'])</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a4">$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">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a5">name</a> = &quot;fd_id&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a6">value</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a7">$qcode</a> = (isset($_GET['qcode']))?$_GET['qcode']:&quot;&quot;</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a8">label</a> = 'qcode'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">$w&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a9">extra</a> = '4,8,9,14'</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a10">$sp</a> = new <a class="el" href="classwidget.html">widget</a>(&quot;span&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a11">$contact</a> = new Contact($cn)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="contact_8inc_8php.html#a12">$search</a> = (isset($_GET['query']))?$_GET['query']:&quot;&quot;</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
File for adding contact, contact is a kind of fichethe contact class is derived from the class fiche the contact is in fact a card but more specific This file is included from the module "Gestion".
<p>
<p>
Definition in file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>.<hr><h2>Variable Documentation</h2>
<a class="anchor" name="a2"></a><!-- doxytag: member="contact.inc.php::$c" 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">$c = new <a class="el" href="classcontact.html">contact</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="contact_8inc_8php-source.html#l00094">94</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a11"></a><!-- doxytag: member="contact.inc.php::$contact" 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="classcontact.html">contact</a> = new Contact($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="contact_8inc_8php-source.html#l00168">168</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>.
<p>
Referenced by <a class="el" href="class__contact_8php-source.html#l00050">contact::Summary()</a>. </td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="contact.inc.php::$h_url" 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">$h_url = sprintf('&lt;input type=&quot;hidden&quot; name=&quot;url&quot; value=&quot;%s&quot;&gt;',urldecode($_REQUEST['url'])) </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="contact_8inc_8php-source.html#l00038">38</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a7"></a><!-- doxytag: member="contact.inc.php::$qcode" 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">$qcode = (isset($_GET['qcode']))?$_GET['qcode']:&quot;&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="contact_8inc_8php-source.html#l00150">150</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a12"></a><!-- doxytag: member="contact.inc.php::$search" 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">$search = (isset($_GET['query']))?$_GET['query']:&quot;&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="contact_8inc_8php-source.html#l00169">169</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a10"></a><!-- doxytag: member="contact.inc.php::$sp" 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">$sp = new <a class="el" href="classwidget.html">widget</a>(&quot;span&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="contact_8inc_8php-source.html#l00157">157</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a0"></a><!-- doxytag: member="contact.inc.php::$sub_action" 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">$sub_action = (isset($_REQUEST['sa']))?$_REQUEST['sa']:&quot;&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="contact_8inc_8php-source.html#l00030">30</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a3"></a><!-- doxytag: member="contact.inc.php::$url" 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">$url = urlencode($_SERVER['REQUEST_URI']) </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="contact_8inc_8php-source.html#l00125">125</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="contact.inc.php::$w" 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">$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="contact_8inc_8php-source.html#l00129">129</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a9"></a><!-- doxytag: member="contact.inc.php::extra" 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="facture_8inc_8php.html#a16">extra</a> = '4,8,9,14' </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="contact_8inc_8php-source.html#l00156">156</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a8"></a><!-- doxytag: member="contact.inc.php::label" 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">$w <a class="el" href="export__ouv_8php.html#a10">label</a> = 'qcode' </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="contact_8inc_8php-source.html#l00155">155</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="contact.inc.php::name" 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 <a class="el" href="ecrit__ouv_8php.html#a8">name</a> = &quot;fd_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="contact_8inc_8php-source.html#l00130">130</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
<a class="anchor" name="a6"></a><!-- doxytag: member="contact.inc.php::value" 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="ecrit__ouv_8php.html#a7">value</a> </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"> <a class="code" href="ac__common_8php.html#a12">make_array</a>($cn,<span class="stringliteral">"select fd_id,fd_label from fiche_def where "</span>.
<span class="stringliteral">" frd_id="</span>.<a class="code" href="constant_8php.html#a73">FICHE_TYPE_CONTACT</a>)
</pre></div>
<p>
Definition at line <a class="el" href="contact_8inc_8php-source.html#l00131">131</a> of file <a class="el" href="contact_8inc_8php-source.html">contact.inc.php</a>. </td>
</tr>
</table>
</BODY>
</HTML>