/[phpcompta]/phpcompta/include/class_fiche.php
ViewVC logotype

Diff of /phpcompta/include/class_fiche.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by sparkyx, Tue Feb 1 20:55:28 2005 UTC revision 1.6 by sparkyx, Wed Jul 27 11:15:09 2005 UTC
# Line 113  class fiche_def { Line 113  class fiche_def {
113        $this->all[$i]->create_account=$row['fd_create_account'];        $this->all[$i]->create_account=$row['fd_create_account'];
114      }      }
115    }    }
116    /* function HasAttribute
117     **************************************************
118     * Purpose : Check in vw_fiche_def if a fiche has
119     *           a attribut X
120     *        
121     * parm :
122     *      - attribut to check
123     * gen :
124     *      - none
125     * return:  true or false
126     */
127     function HasAttribute($p_attr) {
128       return (CountSql($this->cn,"select * from vw_fiche_def where ad_id=$p_attr and fd_id=".$this->id)>0)?true:false;
129    
130     }
131    
132  }  }
133    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26