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

1056 lines
71 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: widget Class 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>
<h1>widget Class Reference</h1><!-- doxytag: class="widget" -->class widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search. special value js_search and js_search_only :you need to add a span widget the name of the js_* widget + '_label' , the member extra contains cred,deb to filter the search of cred of deb of a jrn or contains a string with a list of frd_id. Possible type $type<ul>
<li>TEXT</li><li>HIDDEN</li><li>SELECT</li><li>PASSWORD</li><li>CHECKBOX</li><li>RADIO</li><li>TEXTAREA</li><li>RICHTEXT</li><li>FILE</li><li>JS_SEARCH_POSTE call a popup window for searching the account</li><li>JS_SEARCH call a popup window for searching a quickcode or to add one</li><li>JS_SEARCH_ONLY like JS_SEARCH but without adding a quickcode</li><li>SPAN</li><li>JS_TVA open a popup window for the VAT</li><li>JS_CONCERNED open a popup window for search a operation </li></ul>
<a href="#_details">More...</a>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a0">widget</a> ($p_type=&quot;&quot;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a1">SetReadOnly</a> ($p_read)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a2">IOValue</a> ($p_name=null, $<a class="el" href="poste_8inc_8php.html#a2">p_value</a>=null, $p_label=&quot;&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">create the corresponding INPUT tag js_search_only only for searching a card no new button <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a3">debug</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a4">Submit</a> ($p_name, $<a class="el" href="poste_8inc_8php.html#a2">p_value</a>)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#a5">Reset</a> ($<a class="el" href="poste_8inc_8php.html#a2">p_value</a>)</td></tr>
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o0">$type</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o1">$name</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o2">$value</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o3">$readonly</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o4">$size</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o5">$selected</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o6">$table</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o7">$label</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o8">$disabled</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o9">$extra</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o10">$extra2</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwidget.html#o11">$tabindex</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
class widget This class is used to create all the HTML INPUT TYPE and some specials which works with javascript like js_search. special value js_search and js_search_only :you need to add a span widget the name of the js_* widget + '_label' , the member extra contains cred,deb to filter the search of cred of deb of a jrn or contains a string with a list of frd_id. Possible type $type<ul>
<li>TEXT</li><li>HIDDEN</li><li>SELECT</li><li>PASSWORD</li><li>CHECKBOX</li><li>RADIO</li><li>TEXTAREA</li><li>RICHTEXT</li><li>FILE</li><li>JS_SEARCH_POSTE call a popup window for searching the account</li><li>JS_SEARCH call a popup window for searching a quickcode or to add one</li><li>JS_SEARCH_ONLY like JS_SEARCH but without adding a quickcode</li><li>SPAN</li><li>JS_TVA open a popup window for the VAT</li><li>JS_CONCERNED open a popup window for search a operation </li></ul>
<p>
For JS_SEARCH_POST,JS_SEARCH or JS_SEARCH_ONLY<ul>
<li>$extra contains 'cred', 'deb', 'all' or a list of <a class="el" href="classfiche__def__ref.html">fiche_def_ref</a> (frd_id) to filter the search/add for the card</li></ul>
<p>
<ul>
<li>$extra2 filter on the card parameter, which are given in Avance-&gt;journaux menu, it is the journal id. If empty, there is no link with a ledger</li></ul>
<p>
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00061">61</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0"></a><!-- doxytag: member="widget::widget" ref="a0" args="($p_type=&quot;&quot;)" --><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">widget::widget </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_type</em> = <code>&quot;&quot;</code> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></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="class__widget_8php-source.html#l00089">89</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
References <a class="el" href="impress__poste_8php-source.html#l00144">disabled</a>, <a class="el" href="tva_8inc_8php-source.html#l00215">heigh</a>, <a class="el" href="balance_8php-source.html#l00076">label</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00071">readonly</a>, <a class="el" href="bank_8inc_8php-source.html#l00151">selected</a>, <a class="el" href="tva_8inc_8php-source.html#l00212">size</a>, <a class="el" href="balance_8php-source.html#l00071">table</a>, <a class="el" href="action_8inc_8php-source.html#l00241">value</a>, and <a class="el" href="tva_8inc_8php-source.html#l00215">width</a>.<div class="fragment"><pre class="fragment"><a name="l00089"></a>00089 {
<a name="l00090"></a>00090 $this-&gt;type=$p_type;
<a name="l00091"></a>00091 $this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>=<span class="keyword">false</span>;
<a name="l00092"></a>00092 $this-&gt;<a class="code" href="tva_8inc_8php.html#a15">size</a>=20;
<a name="l00093"></a>00093 $this-&gt;<a class="code" href="tva_8inc_8php.html#a17">width</a>=50;
<a name="l00094"></a>00094 $this-&gt;<a class="code" href="tva_8inc_8php.html#a16">heigh</a>=20;
<a name="l00095"></a>00095 $this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">""</span>;
<a name="l00096"></a>00096 $this-&gt;<a class="code" href="bank_8inc_8php.html#a15">selected</a>=<span class="stringliteral">""</span>;
<a name="l00097"></a>00097 $this-&gt;<a class="code" href="balance_8php.html#a3">table</a>=0;
<a name="l00098"></a>00098 $this-&gt;<a class="code" href="balance_8php.html#a6">label</a>=<span class="stringliteral">""</span>;
<a name="l00099"></a>00099 $this-&gt;<a class="code" href="impress__poste_8php.html#a14">disabled</a>=<span class="keyword">false</span>;
<a name="l00100"></a>00100 $this-&gt;tabindex=32767;
<a name="l00101"></a>00101 }
</pre></div>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a3"></a><!-- doxytag: member="widget::debug" 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">widget::debug </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></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="class__widget_8php-source.html#l00535">535</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
References <a class="el" href="class__widget_8php-source.html#l00080">$readonly</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00071">readonly</a>, and <a class="el" href="action_8inc_8php-source.html#l00241">value</a>.<div class="fragment"><pre class="fragment"><a name="l00535"></a>00535 {
<a name="l00536"></a>00536 echo <span class="stringliteral">"Type "</span>.$this-&gt;type.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00537"></a>00537 echo <span class="stringliteral">"name "</span>.$this-&gt;name.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00538"></a>00538 echo <span class="stringliteral">"value"</span>. $this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00539"></a>00539 <a class="code" href="classwidget.html#o3">$readonly</a>=($this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>==<span class="keyword">false</span>)?<span class="stringliteral">"false"</span>:<span class="stringliteral">"true"</span>;
<a name="l00540"></a>00540 echo <span class="stringliteral">"read only"</span>.$readonly.<span class="stringliteral">"&lt;br&gt;"</span>;
<a name="l00541"></a>00541 }
</pre></div>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a2"></a><!-- doxytag: member="widget::IOValue" ref="a2" args="($p_name=null, $p_value=null, $p_label=&quot;&quot;)" --><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">widget::IOValue </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_name</em> = <code>null</code>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_value</em> = <code>null</code>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_label</em> = <code>&quot;&quot;</code></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
create the corresponding INPUT tag js_search_only only for searching a card no new button
<p>
function IOValue($p_name,$p_value="",$p_label="")<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>$p_name</em>&nbsp;</td><td>is the INPUT NAME </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_value</em>&nbsp;</td><td>is the INPUT VALUE or an array for select </td></tr>
<tr><td valign="top"></td><td valign="top"><em>$p_label</em>&nbsp;</td><td>is the label of the INPUT </td></tr>
</table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>string containing the tag</dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>for the type RICHTEXT we need to include the javascript file into the head</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="commercial_8php.html">commercial.php</a> <a class="el" href="ac__common_8php.html#a5">html_page_start</a>($_SESSION['g_theme'],"","richtext.js");</dd></dl>
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00114">114</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
References <a class="el" href="fortis__be_8inc_8php-source.html#l00054">$check</a>, <a class="el" href="class__widget_8php-source.html#l00085">$disabled</a>, <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="pref_8inc_8php-source.html#l00096">$msg</a>, <a class="el" href="bank_8inc_8php-source.html#l00237">$r</a>, <a class="el" href="impress__poste_8php-source.html#l00144">disabled</a>, <a class="el" href="debug_8php-source.html#l00034">echo_debug()</a>, <a class="el" href="balance_8php-source.html#l00076">label</a>, <a class="el" href="action_8inc_8php-source.html#l00240">name</a>, <a class="el" href="ecrit__ouv_8php-source.html#l00071">readonly</a>, <a class="el" href="bank_8inc_8php-source.html#l00151">selected</a>, and <a class="el" href="action_8inc_8php-source.html#l00241">value</a>.<div class="fragment"><pre class="fragment"><a name="l00114"></a>00114 {
<a name="l00115"></a>00115
<a name="l00116"></a>00116 <span class="keywordflow">if</span> ( $p_name != null)
<a name="l00117"></a>00117 $this-&gt;<a class="code" href="action_8inc_8php.html#a18">name</a>=$p_name;
<a name="l00118"></a>00118 $this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>=($p_value===null)?$this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>:$p_value;
<a name="l00119"></a>00119 $this-&gt;<a class="code" href="balance_8php.html#a6">label</a>=($p_label == <span class="stringliteral">""</span>)?$this-&gt;<a class="code" href="balance_8php.html#a6">label</a>:$p_label;
<a name="l00120"></a>00120
<a name="l00121"></a>00121 <span class="comment">// Input text type</span>
<a name="l00122"></a>00122 <a class="code" href="classwidget.html#o8">$disabled</a> = $this-&gt;<a class="code" href="impress__poste_8php.html#a14">disabled</a> ? <span class="stringliteral">"DISABLED"</span> : <span class="stringliteral">""</span>;
<a name="l00123"></a>00123 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"TEXT"</span>) {
<a name="l00124"></a>00124 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">false</span>) {
<a name="l00125"></a>00125 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;INPUT style=\"border:solid 1px blue;\" TYPE=\"TEXT\" NAME=\"$this-&gt;name\" VALUE=\"$this-&gt;value\" TABINDEX=\"$this-&gt;tabindex\" SIZE=\"$this-&gt;size\" "</span>.$disabled.<span class="stringliteral">"&gt;"</span>;} <span class="keywordflow">else</span> {
<a name="l00126"></a>00126 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;span&gt;%s&lt;/span&gt;&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"%s"</span>&gt;', $this-&gt;value,$this-&gt;name,$this-&gt;value);
<a name="l00127"></a>00127 }
<a name="l00128"></a>00128
<a name="l00129"></a>00129 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00130"></a>00130 <span class="keywordflow">if</span> ( $this-&gt;label != <span class="stringliteral">""</span>) {
<a name="l00131"></a>00131 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD style=\"border:groove 1px blue;\"&gt;"</span>.$this-&gt;label.<span class="stringliteral">"&lt;/TD&gt;&lt;TD&gt;"</span>.<a class="code" href="bank_8inc_8php.html#a29">$r</a>.<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00132"></a>00132 }<span class="keywordflow">else</span> {
<a name="l00133"></a>00133 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD&gt;"</span>.$r.<span class="stringliteral">"&lt;/TD&gt;"</span>;
<a name="l00134"></a>00134 }
<a name="l00135"></a>00135 }
<a name="l00136"></a>00136 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00137"></a>00137 }
<a name="l00138"></a>00138 <span class="comment">// Hidden field</span>
<a name="l00139"></a>00139 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"HIDDEN"</span>) {
<a name="l00140"></a>00140 <a class="code" href="bank_8inc_8php.html#a29">$r</a>='&lt;INPUT TYPE=<span class="stringliteral">"HIDDEN"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span> <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"'.$this-&gt;value.'"</span>&gt;';
<a name="l00141"></a>00141 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">true</span>) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00142"></a>00142 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00143"></a>00143 }
<a name="l00144"></a>00144 <span class="comment">// Select value</span>
<a name="l00145"></a>00145 <span class="keywordflow">if</span> ( strtoupper($this-&gt;type) == <span class="stringliteral">"SELECT"</span>) {
<a name="l00146"></a>00146 <span class="keywordflow">if</span> ($this-&gt;readonly==<span class="keyword">false</span> )
<a name="l00147"></a>00147 {
<a name="l00148"></a>00148 <span class="comment">//echo "&lt;b&gt;Selected &lt;b&gt;".$this-&gt;selected;</span>
<a name="l00149"></a>00149 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;SELECT NAME=\"$this-&gt;name\"&gt;"</span>;
<a name="l00150"></a>00150 <span class="keywordflow">for</span> ( $i=0;$i&lt;<span class="keyword">sizeof</span>($this-&gt;value);$i++)
<a name="l00151"></a>00151 {
<a name="l00152"></a>00152 $checked=($this-&gt;<a class="code" href="bank_8inc_8php.html#a15">selected</a>==$this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="action_8inc_8php.html#a19">value</a>'])?<span class="stringliteral">"SELECTED"</span>:<span class="stringliteral">""</span>;
<a name="l00153"></a>00153 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.='&lt;OPTION VALUE=<span class="stringliteral">"'.$this-&gt;value[$i]['value'].'"</span> '.$checked.<span class="charliteral">'&gt;'</span>;
<a name="l00154"></a>00154 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="balance_8php.html#a6">label</a>'];
<a name="l00155"></a>00155 }
<a name="l00156"></a>00156 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="stringliteral">"&lt;/SELECT&gt;"</span>;
<a name="l00157"></a>00157 } <span class="keywordflow">else</span>
<a name="l00158"></a>00158 {
<a name="l00159"></a>00159 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">""</span>;
<a name="l00160"></a>00160 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_widget.php',__LINE__,<span class="stringliteral">"this-&gt;selected = "</span>.$this-&gt;selected);
<a name="l00161"></a>00161 <span class="keywordflow">for</span> ( $i=0;$i&lt;<span class="keyword">sizeof</span>($this-&gt;value);$i++)
<a name="l00162"></a>00162 {
<a name="l00163"></a>00163 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_widget.php',__LINE__,<span class="stringliteral">"check for "</span>.$this-&gt;value[$i]['<a class="code" href="action_8inc_8php.html#a19">value</a>']);
<a name="l00164"></a>00164 <span class="keywordflow">if</span> ($this-&gt;selected==$this-&gt;value[$i]['<a class="code" href="action_8inc_8php.html#a19">value</a>'] )
<a name="l00165"></a>00165 {
<a name="l00166"></a>00166 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=$this-&gt;value[<a class="code" href="balance_8php.html#a12">$i</a>]['<a class="code" href="balance_8php.html#a6">label</a>'];
<a name="l00167"></a>00167
<a name="l00168"></a>00168 }
<a name="l00169"></a>00169 }
<a name="l00170"></a>00170 }
<a name="l00171"></a>00171 <span class="keywordflow">if</span> ( $this-&gt;table==1) {
<a name="l00172"></a>00172 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00173"></a>00173 <span class="keywordflow">if</span> ( $this-&gt;label != <span class="stringliteral">""</span>) <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label&lt;/TD&gt;"</span>.$r;
<a name="l00174"></a>00174 }
<a name="l00175"></a>00175 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00176"></a>00176 }
<a name="l00177"></a>00177 <span class="comment">// Password</span>
<a name="l00178"></a>00178 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"PASSWORD"</span>) {
<a name="l00179"></a>00179 <span class="keywordflow">if</span> ( $this-&gt;readonly==<span class="keyword">true</span>) <span class="keywordflow">return</span> <span class="stringliteral">""</span>;
<a name="l00180"></a>00180 <a class="code" href="bank_8inc_8php.html#a29">$r</a>='&lt;input type=<span class="stringliteral">"password"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"'.$this-&gt;name;</span>
<a name="l00181"></a>00181 <span class="stringliteral"> $r.='"</span>&gt;';
<a name="l00182"></a>00182 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00183"></a>00183 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00184"></a>00184 }
<a name="l00185"></a>00185 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00186"></a>00186 }
<a name="l00187"></a>00187
<a name="l00188"></a>00188 <span class="comment">// Checkbox</span>
<a name="l00189"></a>00189 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"CHECKBOX"</span>) {
<a name="l00190"></a>00190 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">true</span>) {
<a name="l00191"></a>00191 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="bank_8inc_8php.html#a15">selected</a>==true )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00192"></a>00192 <a class="code" href="bank_8inc_8php.html#a29">$r</a>='&lt;input type=<span class="stringliteral">"CHECKBOX"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00193"></a>00193 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="stringliteral">" $check"</span>;
<a name="l00194"></a>00194 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=' <a class="code" href="impress__poste_8php.html#a14">disabled</a>&gt;';
<a name="l00195"></a>00195
<a name="l00196"></a>00196 } <span class="keywordflow">else</span> {
<a name="l00197"></a>00197 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="bank_8inc_8php.html#a15">selected</a>==true )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00198"></a>00198 <a class="code" href="bank_8inc_8php.html#a29">$r</a>='&lt;input type=<span class="stringliteral">"CHECKBOX"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00199"></a>00199 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="stringliteral">" $check"</span>;
<a name="l00200"></a>00200 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00201"></a>00201 }
<a name="l00202"></a>00202 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00203"></a>00203 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00204"></a>00204 } <span class="keywordflow">else</span> {
<a name="l00205"></a>00205 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<a class="code" href="bank_8inc_8php.html#a29">$r</a>.<span class="stringliteral">" $this-&gt;label"</span>;
<a name="l00206"></a>00206 }
<a name="l00207"></a>00207 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00208"></a>00208 }
<a name="l00209"></a>00209
<a name="l00210"></a>00210 <span class="comment">//radio</span>
<a name="l00211"></a>00211 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"RADIO"</span>) {
<a name="l00212"></a>00212 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">true</span>) {
<a name="l00213"></a>00213 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="bank_8inc_8php.html#a15">selected</a>==<span class="keyword">true</span> || $this-&gt;<a class="code" href="bank_8inc_8php.html#a15">selected</a>==<span class="charliteral">'t'</span> )?<span class="stringliteral">"Yes"</span>:<span class="stringliteral">"no"</span>;
<a name="l00214"></a>00214 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>;
<a name="l00215"></a>00215 } <span class="keywordflow">else</span> {
<a name="l00216"></a>00216 <a class="code" href="fortis__be_8inc_8php.html#a2">$check</a>=( $this-&gt;<a class="code" href="bank_8inc_8php.html#a15">selected</a>==<span class="keyword">true</span>||$this-&gt;<a class="code" href="bank_8inc_8php.html#a15">selected</a>==<span class="charliteral">'t'</span> )?<span class="stringliteral">"checked"</span>:<span class="stringliteral">"unchecked"</span>;
<a name="l00217"></a>00217 <a class="code" href="bank_8inc_8php.html#a29">$r</a>='&lt;input type=<span class="stringliteral">"RADIO"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00218"></a>00218 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="stringliteral">" VALUE=\"$this-&gt;value\""</span>;
<a name="l00219"></a>00219 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="stringliteral">" $check"</span>;
<a name="l00220"></a>00220 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00221"></a>00221 }
<a name="l00222"></a>00222 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00223"></a>00223 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00224"></a>00224 } <span class="keywordflow">else</span> {
<a name="l00225"></a>00225 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=$this-&gt;<a class="code" href="balance_8php.html#a6">label</a>.$r;
<a name="l00226"></a>00226 }
<a name="l00227"></a>00227 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00228"></a>00228 }
<a name="l00229"></a>00229
<a name="l00230"></a>00230 <span class="comment">//textarea</span>
<a name="l00231"></a>00231 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"TEXTAREA"</span>) {
<a name="l00232"></a>00232 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00233"></a>00233 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">""</span>;
<a name="l00234"></a>00234 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.='&lt;TEXTAREA <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span>';
<a name="l00235"></a>00235 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="stringliteral">" rows=\"$this-&gt;heigh\" "</span>;
<a name="l00236"></a>00236 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="stringliteral">" cols=\"$this-&gt;width\" "</span>;
<a name="l00237"></a>00237 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="charliteral">' '</span>.$disabled.<span class="charliteral">'&gt;'</span>;
<a name="l00238"></a>00238 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>;
<a name="l00239"></a>00239
<a name="l00240"></a>00240 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=<span class="stringliteral">"&lt;/TEXTAREA&gt;"</span>;
<a name="l00241"></a>00241 } <span class="keywordflow">else</span> {
<a name="l00242"></a>00242 <a class="code" href="bank_8inc_8php.html#a29">$r</a>='&lt;p&gt;';
<a name="l00243"></a>00243 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>;
<a name="l00244"></a>00244 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"%s"</span>&gt;',
<a name="l00245"></a>00245 $this-&gt;name,urlencode($this-&gt;value));
<a name="l00246"></a>00246 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.='&lt;/p&gt;';
<a name="l00247"></a>00247
<a name="l00248"></a>00248 }
<a name="l00249"></a>00249 <span class="keywordflow">if</span> ($this-&gt;table==1) {
<a name="l00250"></a>00250 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD&gt; $this-&gt;label &lt;/TD&gt;&lt;TD&gt; $r &lt;/TD&gt;"</span>;
<a name="l00251"></a>00251 }
<a name="l00252"></a>00252 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00253"></a>00253 }
<a name="l00254"></a>00254
<a name="l00255"></a>00255 <span class="comment">//----------------------------------------------------------------------</span>
<a name="l00256"></a>00256
<a name="l00257"></a>00257 <span class="comment">//----------------------------------------------------------------------</span>
<a name="l00258"></a>00258 <span class="comment">// Rich Text</span>
<a name="l00264"></a>00264 <span class="comment"></span> <span class="keywordflow">if</span> ( strtoupper($this-&gt;type)=='RICHTEXT')
<a name="l00265"></a>00265 {
<a name="l00266"></a>00266 <a class="code" href="bank_8inc_8php.html#a29">$r</a>= ' &lt;script language=<span class="stringliteral">"JavaScript"</span> type=<span class="stringliteral">"text/javascript"</span>&gt; '.
<a name="l00267"></a>00267 '&lt;!-- '.<span class="stringliteral">"\n"</span>.
<a name="l00268"></a>00268 <span class="stringliteral">"\nfunction submitForm() {\n"</span>.
<a name="l00269"></a>00269 <span class="stringliteral">" updateRTE('"</span>.$this-&gt;name.<span class="stringliteral">"');\n "</span>.
<a name="l00270"></a>00270 <span class="stringliteral">" return true; \n"</span>.
<a name="l00271"></a>00271 <span class="stringliteral">"} \n"</span>.
<a name="l00272"></a>00272 'initRTE(<span class="stringliteral">"images/"</span>, <span class="stringliteral">""</span>, <span class="stringliteral">""</span>);'.<span class="stringliteral">"\n"</span>.
<a name="l00273"></a>00273 '<span class="comment">//--&gt;'."\n".</span>
<a name="l00274"></a>00274 '&lt;/script&gt;'.
<a name="l00275"></a>00275 '&lt;noscript&gt;&lt;p&gt;&lt;b&gt;Javascript must be enabled to use <span class="keyword">this</span> form.&lt;/b&gt;&lt;/p&gt;&lt;/noscript&gt;'.
<a name="l00276"></a>00276 'Note Interne : '.
<a name="l00277"></a>00277 '&lt;script language=<span class="stringliteral">"JavaScript"</span> type=<span class="stringliteral">"text/javascript"</span>&gt;'.<span class="stringliteral">"\n"</span>.
<a name="l00278"></a>00278 '&lt;!--'.<span class="stringliteral">"\n"</span>;
<a name="l00279"></a>00279 <span class="comment">//Usage: writeRichText(fieldname, html, width, height, buttons, readOnly)</span>
<a name="l00280"></a>00280
<a name="l00281"></a>00281 <a class="code" href="debug_8php.html#a0">echo_debug</a>('class_widget',__LINE__,'to write is '.$this-&gt;name);
<a name="l00282"></a>00282 <span class="comment">/*\! brief </span>
<a name="l00283"></a>00283 <span class="comment"> *\note the value must be urlencoded</span>
<a name="l00284"></a>00284 <span class="comment"> */</span>
<a name="l00285"></a>00285 <span class="comment">// Removing new line</span>
<a name="l00286"></a>00286
<a name="l00287"></a>00287 <span class="comment">// $msg=urlencode($this-&gt;value);</span>
<a name="l00288"></a>00288 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=$this-&gt;<a class="code" href="action_8inc_8php.html#a19">value</a>;
<a name="l00289"></a>00289 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=str_replace(<span class="stringliteral">"%OA"</span>,<span class="stringliteral">""</span>,$msg);
<a name="l00290"></a>00290 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=str_replace(<span class="stringliteral">"%OD"</span>,<span class="stringliteral">""</span>,$msg);
<a name="l00291"></a>00291 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=str_replace(<span class="stringliteral">"\n"</span>,<span class="stringliteral">""</span>,$msg);
<a name="l00292"></a>00292 <a class="code" href="pref_8inc_8php.html#a4">$msg</a>=str_replace(<span class="stringliteral">"\r"</span>,<span class="stringliteral">""</span>,$msg);
<a name="l00293"></a>00293
<a name="l00294"></a>00294 $read=($this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>==<span class="keyword">false</span>)?<span class="stringliteral">"false"</span>:<span class="stringliteral">"true"</span>;
<a name="l00295"></a>00295
<a name="l00296"></a>00296
<a name="l00297"></a>00297 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=sprintf(<span class="stringliteral">" writeRichText('%s','%s',%d,%d,true,%s);\n"</span>,
<a name="l00298"></a>00298 $this-&gt;name,
<a name="l00299"></a>00299 $msg,
<a name="l00300"></a>00300 $this-&gt;width,
<a name="l00301"></a>00301 $this-&gt;heigh,
<a name="l00302"></a>00302 $read);
<a name="l00303"></a>00303 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.= <span class="stringliteral">"\n//--&gt;"</span>.
<a name="l00304"></a>00304 <span class="stringliteral">"&lt;/script&gt;"</span>;
<a name="l00305"></a>00305 <a class="code" href="debug_8php.html#a0">echo_debug</a> ('class_widget',__LINE__,<span class="stringliteral">"writeRichText '$r'"</span>);
<a name="l00306"></a>00306
<a name="l00307"></a>00307 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00308"></a>00308
<a name="l00309"></a>00309 }
<a name="l00310"></a>00310
<a name="l00311"></a>00311 <span class="comment">//----------------------------------------------------------------------</span>
<a name="l00312"></a>00312 <span class="comment">//file</span>
<a name="l00313"></a>00313 <span class="keywordflow">if</span> (strtoupper($this-&gt;type)==<span class="stringliteral">"FILE"</span>) {
<a name="l00314"></a>00314 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00315"></a>00315 <a class="code" href="bank_8inc_8php.html#a29">$r</a>='&lt;INPUT TYPE=<span class="stringliteral">"file"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"'.$this-&gt;name.'"</span> VALUE=<span class="stringliteral">"'.$this-&gt;value.'"</span>&gt;';
<a name="l00316"></a>00316
<a name="l00317"></a>00317 }
<a name="l00318"></a>00318 <span class="keywordflow">if</span> ( $this-&gt;table==1) <a class="code" href="bank_8inc_8php.html#a29">$r</a>=<span class="stringliteral">"&lt;TD&gt;$this-&gt;label&lt;/TD&gt;&lt;TD&gt;$r&lt;/TD&gt;"</span>;
<a name="l00319"></a>00319 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00320"></a>00320 }
<a name="l00321"></a>00321 <span class="comment">// input type == js_search_poste =&gt; button search for the account</span>
<a name="l00322"></a>00322 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_search_poste"</span>) {
<a name="l00323"></a>00323
<a name="l00324"></a>00324 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00325"></a>00325 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00326"></a>00326 <span class="comment">// Do we need to filter ??</span>
<a name="l00327"></a>00327 <span class="keywordflow">if</span> ( $this-&gt;extra2 == null ) {
<a name="l00328"></a>00328 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;TD&gt;
<a name="l00329"></a>00329 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchPoste(\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00330"></a>00330 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00331"></a>00331
<a name="l00332"></a>00332 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00333"></a>00333 &lt;/TD&gt;',
<a name="l00334"></a>00334 $l_sessid,
<a name="l00335"></a>00335 $this-&gt;name,
<a name="l00336"></a>00336 $this-&gt;extra,
<a name="l00337"></a>00337 $this-&gt;label,
<a name="l00338"></a>00338 $this-&gt;name,
<a name="l00339"></a>00339 $this-&gt;value
<a name="l00340"></a>00340 );
<a name="l00341"></a>00341
<a name="l00342"></a>00342 } <span class="keywordflow">else</span> { <span class="comment">// $p_list is not null, so we have a filter</span>
<a name="l00343"></a>00343 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;TD&gt;
<a name="l00344"></a>00344 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchPosteFilter(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00345"></a>00345 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00346"></a>00346
<a name="l00347"></a>00347 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00348"></a>00348 &lt;/TD&gt;',
<a name="l00349"></a>00349 $l_sessid,
<a name="l00350"></a>00350 $this-&gt;name,
<a name="l00351"></a>00351 $this-&gt;extra2,
<a name="l00352"></a>00352 $this-&gt;extra,
<a name="l00353"></a>00353 $this-&gt;label,
<a name="l00354"></a>00354 $this-&gt;name,
<a name="l00355"></a>00355 $this-&gt;value
<a name="l00356"></a>00356 );
<a name="l00357"></a>00357
<a name="l00358"></a>00358 } <span class="comment">//else</span>
<a name="l00359"></a>00359 } <span class="keywordflow">else</span> {
<a name="l00360"></a>00360 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;TD&gt;&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"%s"</span>&gt;
<a name="l00361"></a>00361 %s
<a name="l00362"></a>00362
<a name="l00363"></a>00363 &lt;/TD&gt;',
<a name="l00364"></a>00364 $this-&gt;name,
<a name="l00365"></a>00365 $this-&gt;value ,
<a name="l00366"></a>00366 $this-&gt;value
<a name="l00367"></a>00367 );
<a name="l00368"></a>00368
<a name="l00369"></a>00369 } <span class="comment">//else if readonly == true</span>
<a name="l00370"></a>00370 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00371"></a>00371
<a name="l00372"></a>00372 } <span class="comment">// end js_search_poste</span>
<a name="l00373"></a>00373
<a name="l00374"></a>00374 <span class="comment">// input type == js_search =&gt; button search for card</span>
<a name="l00375"></a>00375 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_search"</span>) {
<a name="l00376"></a>00376 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00377"></a>00377 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00378"></a>00378 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;TD&gt;
<a name="l00379"></a>00379 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=NewCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"New"</span>&gt;
<a name="l00380"></a>00380 &lt;/TD&gt;&lt;TD&gt;
<a name="l00381"></a>00381 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00382"></a>00382 %s &lt;INPUT TYPE="Text" NAME="%s" VALUE="%s" SIZE="8" TABINDEX="%s"&gt;
<a name="l00383"></a>00383 ',
<a name="l00384"></a>00384 $l_sessid,
<a name="l00385"></a>00385 $this-&gt;extra, <span class="comment">// deb or cred</span>
<a name="l00386"></a>00386 $this-&gt;name,
<a name="l00387"></a>00387 $this-&gt;extra2, <span class="comment">//jrn</span>
<a name="l00388"></a>00388 $l_sessid,
<a name="l00389"></a>00389 $this-&gt;extra,
<a name="l00390"></a>00390 $this-&gt;name,
<a name="l00391"></a>00391 $this-&gt;extra2,
<a name="l00392"></a>00392 $this-&gt;label,
<a name="l00393"></a>00393 $this-&gt;name,
<a name="l00394"></a>00394 $this-&gt;value,
<a name="l00395"></a>00395 $this-&gt;tabindex
<a name="l00396"></a>00396 );
<a name="l00397"></a>00397 } <span class="keywordflow">else</span> {
<a name="l00398"></a>00398 <span class="comment">// readonly == true</span>
<a name="l00399"></a>00399 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;TD&gt; %s&lt;/TD&gt;
<a name="l00400"></a>00400 &lt;TD&gt;
<a name="l00401"></a>00401 &lt;INPUT TYPE=<span class="stringliteral">"hidden"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00402"></a>00402 &lt;/TD&gt;',
<a name="l00403"></a>00403 $this-&gt;label,
<a name="l00404"></a>00404 $this-&gt;name,
<a name="l00405"></a>00405 $this-&gt;value
<a name="l00406"></a>00406 );
<a name="l00407"></a>00407
<a name="l00408"></a>00408 }
<a name="l00409"></a>00409 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00410"></a>00410 }<span class="comment">// poste==js_search</span>
<a name="l00411"></a>00411
<a name="l00412"></a>00412
<a name="l00413"></a>00413 <span class="comment">// input type == js_search =&gt; button search for card</span>
<a name="l00416"></a>00416 <span class="comment"></span> <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_search_only"</span>) {
<a name="l00417"></a>00417 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00418"></a>00418 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span> ) {
<a name="l00419"></a>00419 <span class="keywordflow">if</span> ( $this-&gt;table==1)
<a name="l00420"></a>00420 {
<a name="l00421"></a>00421 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;TD&gt;
<a name="l00422"></a>00422 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"QuickCode"</span>&gt;
<a name="l00423"></a>00423 %s&lt;/TD&gt;&lt;TD&gt; &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span> TABINDEX=<span class="stringliteral">"%s"</span>&gt;
<a name="l00424"></a>00424 ',
<a name="l00425"></a>00425 $l_sessid,
<a name="l00426"></a>00426 $this-&gt;extra,
<a name="l00427"></a>00427 $this-&gt;name,
<a name="l00428"></a>00428 $this-&gt;extra2,
<a name="l00429"></a>00429 $this-&gt;label,
<a name="l00430"></a>00430 $this-&gt;name,
<a name="l00431"></a>00431 $this-&gt;value,
<a name="l00432"></a>00432 $this-&gt;tabindex
<a name="l00433"></a>00433 );
<a name="l00434"></a>00434 }
<a name="l00435"></a>00435 <span class="keywordflow">else</span>
<a name="l00436"></a>00436 {
<a name="l00437"></a>00437 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('
<a name="l00438"></a>00438 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchCard(\'%s\',\'%s\',\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"QuickCode"</span>&gt;
<a name="l00439"></a>00439 %s &lt;INPUT TYPE="Text" NAME="%s" VALUE="%s" SIZE="8" TABINDEX="%s"&gt; ',
<a name="l00440"></a>00440 $l_sessid,
<a name="l00441"></a>00441 $this-&gt;extra,
<a name="l00442"></a>00442 $this-&gt;name,
<a name="l00443"></a>00443 $this-&gt;extra2,
<a name="l00444"></a>00444 $this-&gt;label,
<a name="l00445"></a>00445 $this-&gt;name,
<a name="l00446"></a>00446 $this-&gt;value,
<a name="l00447"></a>00447 $this-&gt;tabindex
<a name="l00448"></a>00448 );
<a name="l00449"></a>00449 }
<a name="l00450"></a>00450 } <span class="keywordflow">else</span> {
<a name="l00451"></a>00451 <span class="comment">// readonly == true</span>
<a name="l00452"></a>00452 <span class="keywordflow">if</span> ( $this-&gt;table == 1 )
<a name="l00453"></a>00453 {
<a name="l00454"></a>00454
<a name="l00455"></a>00455 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;TD&gt; %s&lt;/TD&gt;
<a name="l00456"></a>00456 &lt;TD&gt; %s
<a name="l00457"></a>00457 &lt;INPUT TYPE=<span class="stringliteral">"hidden"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00458"></a>00458 ',
<a name="l00459"></a>00459 $this-&gt;label,
<a name="l00460"></a>00460 $this-&gt;value,
<a name="l00461"></a>00461 $this-&gt;name,
<a name="l00462"></a>00462 $this-&gt;value
<a name="l00463"></a>00463 );
<a name="l00464"></a>00464 }
<a name="l00465"></a>00465 <span class="keywordflow">else</span> {
<a name="l00466"></a>00466 <span class="comment">// readonly == true and table == 0</span>
<a name="l00467"></a>00467 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('%s',
<a name="l00468"></a>00468 $this-&gt;value
<a name="l00469"></a>00469 );
<a name="l00470"></a>00470
<a name="l00471"></a>00471 }
<a name="l00472"></a>00472
<a name="l00473"></a>00473 }
<a name="l00474"></a>00474 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00475"></a>00475 }<span class="comment">// poste==js_search_only</span>
<a name="l00476"></a>00476
<a name="l00477"></a>00477
<a name="l00478"></a>00478
<a name="l00479"></a>00479
<a name="l00480"></a>00480
<a name="l00481"></a>00481 <span class="comment">// type=span</span>
<a name="l00482"></a>00482 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"span"</span>) {
<a name="l00483"></a>00483 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;span <span class="keywordtype">id</span>=<span class="stringliteral">"%s"</span> &gt;%s &lt;/span&gt;',
<a name="l00484"></a>00484 $this-&gt;name,
<a name="l00485"></a>00485 $this-&gt;value
<a name="l00486"></a>00486 );
<a name="l00487"></a>00487
<a name="l00488"></a>00488 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00489"></a>00489 }<span class="comment">// end type = span</span>
<a name="l00490"></a>00490
<a name="l00491"></a>00491 <span class="comment">// input type == js_tva</span>
<a name="l00492"></a>00492 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_tva"</span>) {
<a name="l00493"></a>00493 $id=sprintf(<span class="stringliteral">"&lt;span id=%s&gt;&lt;/span&gt;"</span>,$this-&gt;label);
<a name="l00494"></a>00494 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('%s&lt;TD&gt; &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"3"</span> onChange=<span class="stringliteral">"ChangeTVA(\'%s\',\'%s\');"</span>&gt;',
<a name="l00495"></a>00495 $<span class="keywordtype">id</span>,
<a name="l00496"></a>00496 $this-&gt;name,
<a name="l00497"></a>00497 $this-&gt;value,
<a name="l00498"></a>00498 $this-&gt;label,
<a name="l00499"></a>00499 $this-&gt;name);
<a name="l00500"></a>00500 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00501"></a>00501 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=sprintf(<span class="stringliteral">"&lt;input type=\"button\" value=\"Tva\" </span>
<a name="l00502"></a>00502 <span class="stringliteral"> onClick=\"</span>
<a name="l00503"></a>00503 <span class="stringliteral"> ShowTva('%s','%s');\"&gt;&lt;/TD&gt;"</span>,
<a name="l00504"></a>00504 $l_sessid,$this-&gt;name);
<a name="l00505"></a>00505 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00506"></a>00506 }
<a name="l00507"></a>00507
<a name="l00508"></a>00508 <span class="comment">// input type == js_concerned =&gt; button search for the concerned operations</span>
<a name="l00509"></a>00509 <span class="keywordflow">if</span> ( strtolower($this-&gt;type)==<span class="stringliteral">"js_concerned"</span>) {
<a name="l00510"></a>00510 <span class="keywordflow">if</span> ( $this-&gt;readonly == <span class="keyword">false</span>) {
<a name="l00511"></a>00511 $l_sessid=$_REQUEST['PHPSESSID'];
<a name="l00512"></a>00512 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf('&lt;TD&gt;
<a name="l00513"></a>00513 &lt;INPUT TYPE=<span class="stringliteral">"button"</span> onClick=SearchJrn(\'%s\',\'%s\') <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"Search"</span>&gt;
<a name="l00514"></a>00514 %s&lt;/TD&gt;&lt;TD&gt;
<a name="l00515"></a>00515
<a name="l00516"></a>00516 &lt;INPUT TYPE=<span class="stringliteral">"Text"</span> NAME=<span class="stringliteral">"%s"</span> VALUE=<span class="stringliteral">"%s"</span> SIZE=<span class="stringliteral">"8"</span>&gt;
<a name="l00517"></a>00517 &lt;/TD&gt;',
<a name="l00518"></a>00518 $l_sessid,
<a name="l00519"></a>00519 $this-&gt;name,
<a name="l00520"></a>00520 $this-&gt;label,
<a name="l00521"></a>00521 $this-&gt;name,
<a name="l00522"></a>00522 $this-&gt;value
<a name="l00523"></a>00523 );
<a name="l00524"></a>00524 } <span class="keywordflow">else</span> {
<a name="l00525"></a>00525 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf(<span class="stringliteral">"&lt;TD&gt;&lt;span&gt;%s&lt;/span&gt;"</span>,$this-&gt;value);
<a name="l00526"></a>00526 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=sprintf('&lt;input type=<span class="stringliteral">"hidden"</span> <a class="code" href="action_8inc_8php.html#a18">name</a>=<span class="stringliteral">"%s"</span> <a class="code" href="action_8inc_8php.html#a19">value</a>=<span class="stringliteral">"%s"</span>&gt;&lt;/TD&gt;', $this-&gt;name,$this-&gt;value);
<a name="l00527"></a>00527 }
<a name="l00528"></a>00528
<a name="l00529"></a>00529 <span class="keywordflow">return</span> <a class="code" href="bank_8inc_8php.html#a29">$r</a>;
<a name="l00530"></a>00530 }<span class="comment">// end js_concerned</span>
<a name="l00531"></a>00531 <span class="keywordflow">return</span> <span class="stringliteral">"INVALID WIDGET $this-&gt;type "</span>;
<a name="l00532"></a>00532 } <span class="comment">//end function</span>
</pre></div>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a5"></a><!-- doxytag: member="widget::Reset" ref="a5" args="($p_value)" --><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">widget::Reset </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_value</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></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="class__widget_8php-source.html#l00545">545</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.<div class="fragment"><pre class="fragment"><a name="l00545"></a>00545 {
<a name="l00546"></a>00546 <span class="keywordflow">return</span> '&lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> VALUE=<span class="stringliteral">"'.$p_value.'"</span>&gt;';
<a name="l00547"></a>00547 }
</pre></div>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a1"></a><!-- doxytag: member="widget::SetReadOnly" ref="a1" args="($p_read)" --><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">widget::SetReadOnly </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_read</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></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="class__widget_8php-source.html#l00102">102</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
References <a class="el" href="ecrit__ouv_8php-source.html#l00071">readonly</a>.<div class="fragment"><pre class="fragment"><a name="l00102"></a>00102 {
<a name="l00103"></a>00103 $this-&gt;<a class="code" href="ecrit__ouv_8php.html#a6">readonly</a>=$p_read;
<a name="l00104"></a>00104 }
</pre></div>
<p>
</td>
</tr>
</table>
<a class="anchor" name="a4"></a><!-- doxytag: member="widget::Submit" ref="a4" args="($p_name, $p_value)" --><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">widget::Submit </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname" nowrap> <em>p_name</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_value</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></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="class__widget_8php-source.html#l00542">542</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.<div class="fragment"><pre class="fragment"><a name="l00542"></a>00542 {
<a name="l00543"></a>00543 <span class="keywordflow">return</span> '&lt;INPUT TYPE=<span class="stringliteral">"SUBMIT"</span> NAME=<span class="stringliteral">"'.$p_name.'"</span> VALUE=<span class="stringliteral">"'.$p_value.'"</span>&gt;';
<a name="l00544"></a>00544 }
</pre></div>
<p>
</td>
</tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="o8"></a><!-- doxytag: member="widget::$disabled" ref="o8" 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">widget::$<a class="el" href="impress__poste_8php.html#a14">disabled</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
to disable the type
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00085">85</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
Referenced by <a class="el" href="class__widget_8php-source.html#l00114">IOValue()</a>. </td>
</tr>
</table>
<a class="anchor" name="o9"></a><!-- doxytag: member="widget::$extra" ref="o9" 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">widget::$<a class="el" href="facture_8inc_8php.html#a16">extra</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
depends of the input type
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00086">86</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o10"></a><!-- doxytag: member="widget::$extra2" ref="o10" 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">widget::$extra2 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
depends of the input type
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00087">87</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o7"></a><!-- doxytag: member="widget::$label" ref="o7" 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">widget::$<a class="el" href="export__ouv_8php.html#a10">label</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
text before the input tag
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00084">84</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o1"></a><!-- doxytag: member="widget::$name" ref="o1" 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">widget::$<a class="el" href="ecrit__ouv_8php.html#a8">name</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
name of the input tag
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00078">78</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o3"></a><!-- doxytag: member="widget::$readonly" ref="o3" 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">widget::$<a class="el" href="ecrit__ouv_8php.html#a6">readonly</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
if set to false cannot modify
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00080">80</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>.
<p>
Referenced by <a class="el" href="class__widget_8php-source.html#l00535">debug()</a>. </td>
</tr>
</table>
<a class="anchor" name="o5"></a><!-- doxytag: member="widget::$selected" ref="o5" 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">widget::$<a class="el" href="user__action__ven_8php.html#a13">selected</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
selected value for the radio or select
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00082">82</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o4"></a><!-- doxytag: member="widget::$size" ref="o4" 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">widget::$<a class="el" href="annulation_8php.html#a9">size</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
size for the text type
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00081">81</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o11"></a><!-- doxytag: member="widget::$tabindex" ref="o11" 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">widget::$tabindex </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
the tabindex
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00088">88</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o6"></a><!-- doxytag: member="widget::$table" ref="o6" 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">widget::$<a class="el" href="parametre_8php.html#a19">table</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
if we want to make a HTML table row the value is return with &lt;TD&gt;
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00083">83</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o0"></a><!-- doxytag: member="widget::$type" ref="o0" 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">widget::$type </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
type of the input tag (text, select, files, js_search,...)
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00077">77</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<a class="anchor" name="o2"></a><!-- doxytag: member="widget::$value" ref="o2" 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">widget::$<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>
value
<p>
Definition at line <a class="el" href="class__widget_8php-source.html#l00079">79</a> of file <a class="el" href="class__widget_8php-source.html">class_widget.php</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="class__widget_8php-source.html">class_widget.php</a></ul>
</BODY>
</HTML>