altocompta/doc/developper/html/classfiche__def.html
2006-06-25 21:10:41 +00:00

481 lines
19 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&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>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">&nbsp;</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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a1">GetAttribut</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a2">Get</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a3">GetAll</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a4">HasAttribute</a> ($p_attr)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfiche__def.html#a5">Display</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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 &amp; 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">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</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>$&nbsp;</td>
<td class="mdname" nowrap> <em>p_id</em> = <code>0</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>
<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>. </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">(&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>
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="user__action__ach_8php-source.html#l00052">$r</a>. </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">(&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>
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="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00096">$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="action_8inc_8php-source.html#l00166">label</a>, and <a class="el" href="impress__listing__client_8php-source.html#l00059">return</a>. </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">(&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>
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="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00096">$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>. </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">(&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>
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="cbc__be_8inc_8php-source.html#l00028">$row</a>, <a class="el" href="bank_8inc_8php-source.html#l00096">$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>. </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">(&nbsp;</td>
<td class="md" nowrap valign="top">$&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>p_attr</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>
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>&nbsp;</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>. </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>
&nbsp;
</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>
&nbsp;
</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>
&nbsp;
</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>
&nbsp;
</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>
&nbsp;
</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>
&nbsp;
</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>
&nbsp;
</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>
&nbsp;
</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>/home/dany/developpement/phpcompta-dev/phpcompta/include/<a class="el" href="class__fiche_8php-source.html">class_fiche.php</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sun Jun 25 23:10:01 2006 for phpcompta by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body>
</html>