553 lines
26 KiB
HTML
553 lines
26 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: fiche_def 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 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>
|
|
<h1>fiche_def Class Reference</h1><!-- doxytag: class="fiche_def" -->define Class fiche and fiche def, those class are using class attribut
|
|
<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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a0">fiche_def</a> ($p_cn, $p_id=0)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a1">GetAttribut</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get attribut of a fiche_def. <a href="#a1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a2">Get</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get attribut of the fiche_def. <a href="#a2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a3">GetAll</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get all the fiche_def. <a href="#a3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a4">HasAttribute</a> ($p_attr)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check in vw_fiche_def if a fiche has a attribut X. <a href="#a4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a5">Display</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Display a fiche_def object into a table. <a href="#a5"></a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#o0">$cn</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#o1">$id</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#o2">$label</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#o3">$class_base</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#o4">$fiche_def</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#o5">$create_account</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#o6">$all</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#o7">$attribut</a></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
define Class fiche and fiche def, those class are using class attribut
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__fiche_8php-source.html#l00030">30</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="a0"></a><!-- doxytag: member="fiche_def::fiche_def" ref="a0" args="($p_cn, $p_id=0)" --><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">fiche_def::fiche_def </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname" nowrap> <em>p_cn</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>$ </td>
|
|
<td class="mdname" nowrap> <em>p_id</em> = <code>0</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></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="class__fiche_8php-source.html#l00039">39</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
|
|
<p>
|
|
References <a class="el" href="user__update_8php-source.html#l00032">$p_id</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="class__fiche_8php-source.html#l00094">GetAll()</a>.<div class="fragment"><pre class="fragment"><a name="l00039"></a>00039 {
|
|
<a name="l00040"></a>00040 $this->cn=$p_cn;
|
|
<a name="l00041"></a>00041 $this-><span class="keywordtype">id</span>=<a class="code" href="user__update_8php.html#a1">$p_id</a>;
|
|
<a name="l00042"></a>00042 }
|
|
</pre></div>
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="a5"></a><!-- doxytag: member="fiche_def::Display" 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">fiche_def::Display </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </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>
|
|
Display a fiche_def object into a table.
|
|
<p>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>HTML row</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__fiche_8php-source.html#l00129">129</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
|
|
<p>
|
|
References <a class="el" href="bank_8inc_8php-source.html#l00237">$r</a>.<div class="fragment"><pre class="fragment"><a name="l00130"></a>00130 {
|
|
<a name="l00131"></a>00131
|
|
<a name="l00132"></a>00132 <a class="code" href="bank_8inc_8php.html#a29">$r</a>=sprintf(<span class="stringliteral">"<TD>%s</TD>"</span>,$this->id);
|
|
<a name="l00133"></a>00133 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=sprintf(<span class="stringliteral">"<TD>%s</TD>"</span>,$this->label);
|
|
<a name="l00134"></a>00134 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=sprintf(<span class="stringliteral">"<TD>%s</TD>"</span>,$this->class_base);
|
|
<a name="l00135"></a>00135 <a class="code" href="bank_8inc_8php.html#a29">$r</a>.=sprintf(<span class="stringliteral">"<TD>%s</TD>"</span>,$this->fiche_def);
|
|
<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 }
|
|
</pre></div>
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a2"></a><!-- doxytag: member="fiche_def::Get" 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">fiche_def::Get </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </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>
|
|
Get attribut of the fiche_def.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__fiche_8php-source.html#l00074">74</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
|
|
<p>
|
|
References <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="argenta__be_8inc_8php-source.html#l00044">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00169">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00030">frd_id</a>, <a class="el" href="balance_8php-source.html#l00076">label</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>.<div class="fragment"><pre class="fragment"><a name="l00074"></a>00074 {
|
|
<a name="l00075"></a>00075 <span class="keywordflow">if</span> ( $this->id == 0 )
|
|
<a name="l00076"></a>00076 <span class="keywordflow">return</span> 0;
|
|
<a name="l00077"></a>00077 <a class="code" href="bank_8inc_8php.html#a20">$sql</a>=<span class="stringliteral">"select * from fiche_def "</span>.
|
|
<a name="l00078"></a>00078 <span class="stringliteral">" where fd_id="</span>.$this->id;
|
|
<a name="l00079"></a>00079 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this->cn,$sql);
|
|
<a name="l00080"></a>00080 <span class="keywordflow">if</span> ( ($Max=pg_NumRows($Ret)) == 0 )
|
|
<a name="l00081"></a>00081 <a class="code" href="impress__listing__client_8php.html#a2">return</a> ;
|
|
<a name="l00082"></a>00082 <a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>=pg_fetch_array($Ret,0);
|
|
<a name="l00083"></a>00083 $this-><a class="code" href="balance_8php.html#a6">label</a>=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['fd_label'];
|
|
<a name="l00084"></a>00084 $this->class_base=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['fd_class_base'];
|
|
<a name="l00085"></a>00085 $this-><a class="code" href="classfiche__def.html">fiche_def</a>=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['<a class="code" href="fiche__def_8inc_8php.html#a1">frd_id</a>'];
|
|
<a name="l00086"></a>00086 $this->create_account=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['fd_create_account'];
|
|
<a name="l00087"></a>00087 }
|
|
</pre></div>
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a3"></a><!-- doxytag: member="fiche_def::GetAll" 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">fiche_def::GetAll </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </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>
|
|
Get all the fiche_def.
|
|
<p>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>an array of fiche_def object</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__fiche_8php-source.html#l00094">94</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
|
|
<p>
|
|
References <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="argenta__be_8inc_8php-source.html#l00044">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00169">$sql</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, <a class="el" href="class__fiche_8php-source.html#l00039">fiche_def()</a>, <a class="el" href="fiche__def_8inc_8php-source.html#l00030">frd_id</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>.<div class="fragment"><pre class="fragment"><a name="l00094"></a>00094 {
|
|
<a name="l00095"></a>00095 <a class="code" href="bank_8inc_8php.html#a20">$sql</a>=<span class="stringliteral">"select * from fiche_def "</span>;
|
|
<a name="l00096"></a>00096
|
|
<a name="l00097"></a>00097 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this->cn,$sql);
|
|
<a name="l00098"></a>00098 <span class="keywordflow">if</span> ( ($Max=pg_NumRows($Ret)) == 0 )
|
|
<a name="l00099"></a>00099 <a class="code" href="impress__listing__client_8php.html#a2">return</a> ;
|
|
<a name="l00100"></a>00100
|
|
<a name="l00101"></a>00101 <span class="keywordflow">for</span> ( $i = 0; $i < $Max;$i++) {
|
|
<a name="l00102"></a>00102 <a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>=pg_fetch_array($Ret,$i);
|
|
<a name="l00103"></a>00103 $this->all[<a class="code" href="balance_8php.html#a12">$i</a>]=<span class="keyword">new</span> <a class="code" href="classfiche__def.html#a0">fiche_def</a>($this->cn,$row['fd_id']);
|
|
<a name="l00104"></a>00104 $this->all[<a class="code" href="balance_8php.html#a12">$i</a>]->label=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['fd_label'];
|
|
<a name="l00105"></a>00105 $this->all[<a class="code" href="balance_8php.html#a12">$i</a>]->class_base=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['fd_class_base'];
|
|
<a name="l00106"></a>00106 $this->all[<a class="code" href="balance_8php.html#a12">$i</a>]->fiche_def=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['<a class="code" href="fiche__def_8inc_8php.html#a1">frd_id</a>'];
|
|
<a name="l00107"></a>00107 $this->all[<a class="code" href="balance_8php.html#a12">$i</a>]->create_account=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['fd_create_account'];
|
|
<a name="l00108"></a>00108 }
|
|
<a name="l00109"></a>00109 }
|
|
</pre></div>
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a1"></a><!-- doxytag: member="fiche_def::GetAttribut" 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">fiche_def::GetAttribut </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </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>
|
|
Get attribut of a fiche_def.
|
|
<p>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>string value of the attribute none</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__fiche_8php-source.html#l00051">51</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
|
|
<p>
|
|
References <a class="el" href="balance_8php-source.html#l00118">$i</a>, <a class="el" href="line__update_8php-source.html#l00070">$Ret</a>, <a class="el" href="argenta__be_8inc_8php-source.html#l00044">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00169">$sql</a>, <a class="el" href="impress__rapport_8php-source.html#l00062">$t</a>, <a class="el" href="postgres_8php-source.html#l00099">ExecSql()</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>.<div class="fragment"><pre class="fragment"><a name="l00051"></a>00051 {
|
|
<a name="l00052"></a>00052 <a class="code" href="bank_8inc_8php.html#a20">$sql</a>=<span class="stringliteral">"select * from jnt_fic_attr "</span>.
|
|
<a name="l00053"></a>00053 <span class="stringliteral">" natural join attr_def where fd_id="</span>.$this->id.
|
|
<a name="l00054"></a>00054 <span class="stringliteral">" order by ad_id"</span>;
|
|
<a name="l00055"></a>00055
|
|
<a name="l00056"></a>00056 <a class="code" href="line__update_8php.html#a8">$Ret</a>=<a class="code" href="postgres_8php.html#a2">ExecSql</a>($this->cn,$sql);
|
|
<a name="l00057"></a>00057
|
|
<a name="l00058"></a>00058 <span class="keywordflow">if</span> ( ($Max=pg_NumRows($Ret)) == 0 )
|
|
<a name="l00059"></a>00059 <a class="code" href="impress__listing__client_8php.html#a2">return</a> ;
|
|
<a name="l00060"></a>00060 <span class="keywordflow">for</span> ($i=0;$i < $Max;$i++) {
|
|
<a name="l00061"></a>00061 <a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>=pg_fetch_array($Ret,$i);
|
|
<a name="l00062"></a>00062 <a class="code" href="impress__rapport_8php.html#a3">$t</a> = <span class="keyword">new</span> <a class="code" href="classAttribut.html">Attribut</a>($row['ad_id']);
|
|
<a name="l00063"></a>00063 <a class="code" href="impress__rapport_8php.html#a3">$t</a>->ad_text=<a class="code" href="argenta__be_8inc_8php.html#a2">$row</a>['ad_text'];
|
|
<a name="l00064"></a>00064 $this->attribut[<a class="code" href="balance_8php.html#a12">$i</a>]=<a class="code" href="impress__rapport_8php.html#a3">$t</a>;
|
|
<a name="l00065"></a>00065 }
|
|
<a name="l00066"></a>00066 <span class="keywordflow">return</span> $this->attribut;
|
|
<a name="l00067"></a>00067 }
|
|
</pre></div>
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a4"></a><!-- doxytag: member="fiche_def::HasAttribute" ref="a4" args="($p_attr)" --><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">fiche_def::HasAttribute </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">$ </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>p_attr</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>
|
|
Check in vw_fiche_def if a fiche has a attribut X.
|
|
<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_attr</em> </td><td>attribut to check </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>true or false</dd></dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__fiche_8php-source.html#l00119">119</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>.
|
|
<p>
|
|
References <a class="el" href="postgres_8php-source.html#l00222">CountSql()</a>.<div class="fragment"><pre class="fragment"><a name="l00119"></a>00119 {
|
|
<a name="l00120"></a>00120 <span class="keywordflow">return</span> (<a class="code" href="postgres_8php.html#a10">CountSql</a>($this->cn,<span class="stringliteral">"select * from vw_fiche_def where ad_id=$p_attr and fd_id="</span>.$this->id)>0)?<span class="keyword">true</span>:<span class="keyword">false</span>;
|
|
<a name="l00121"></a>00121
|
|
<a name="l00122"></a>00122 }
|
|
</pre></div>
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr><h2>Field Documentation</h2>
|
|
<a class="anchor" name="o6"></a><!-- doxytag: member="fiche_def::$all" 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">fiche_def::$all </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="class__fiche_8php-source.html#l00037">37</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o7"></a><!-- doxytag: member="fiche_def::$attribut" 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">fiche_def::$attribut </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="class__fiche_8php-source.html#l00038">38</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o3"></a><!-- doxytag: member="fiche_def::$class_base" 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">fiche_def::$class_base </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="class__fiche_8php-source.html#l00034">34</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o0"></a><!-- doxytag: member="fiche_def::$cn" 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">fiche_def::$cn </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="class__fiche_8php-source.html#l00031">31</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o5"></a><!-- doxytag: member="fiche_def::$create_account" 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">fiche_def::$create_account </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="class__fiche_8php-source.html#l00036">36</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o4"></a><!-- doxytag: member="fiche_def::$fiche_def" 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">fiche_def::$<a class="el" href="classfiche__def.html">fiche_def</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="class__fiche_8php-source.html#l00035">35</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o1"></a><!-- doxytag: member="fiche_def::$id" 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">fiche_def::$<a class="el" href="impress__fiche_8php.html#a6">id</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="class__fiche_8php-source.html#l00032">32</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="o2"></a><!-- doxytag: member="fiche_def::$label" 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">fiche_def::$<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>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="class__fiche_8php-source.html#l00033">33</a> of file <a class="el" href="class__fiche_8php-source.html">class_fiche.php</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="class__fiche_8php-source.html">class_fiche.php</a></ul>
|
|
</BODY>
|
|
</HTML>
|