Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Class.DocUTag.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * History log for document
8  *
9  * @author Anakeen
10  * @version $Id: Class.DocUTag.php,v 1.2 2006/08/01 15:25:55 eric Exp $
11  * @package FDL
12  */
13 /**
14  */
15 
16 include_once ("Class.DbObj.php");
17 class DocUtag extends DbObj
18 {
19  public $fields = array(
20  "id", // doc id
21  "initid", // doc initid
22  "uid", // user what id
23  "uname", // use name
24  "date", // date of entry
25  "tag", // tag code
26  "fromuid", // user what id of the user which has set the tag
27  "fixed",
28  "comment"
29  );
30  /**
31  * identifier of document
32  * @public int
33  */
34  public $id;
35  /**
36  * initial identifier of document
37  * @public int
38  */
39  public $initid;
40  /**
41  * identifier system of the user
42  * @public int
43  */
44  public $uid;
45  /**
46  * firstname and last name of the user
47  * @public string
48  */
49  public $uname;
50  /**
51  * comment date record
52  * @public date
53  */
54  public $date;
55  /**
56  * level of comment
57  * @public int
58  */
59  public $tag;
60  /**
61  * identifier system of the author user
62  * @public int
63  */
64  public $fromuid;
65  /**
66  * value/comment of tag
67  * @public string
68  */
69  public $comment;
70 
71  public $fixed = 'false';
72 
73  public $id_fields = array(
74  "id",
75  "uid",
76  "tag"
77  );
78 
79  public $dbtable = "docutag";
80 
81  public $sqlcreate = "
82 create table docutag ( id int not null,
83  initid int not null,
84  uid int not null,
85  uname text,
86  date timestamp,
87  tag text,
88  fromuid int,
89  fixed boolean default false,
90  comment text);
91 create index i_docutag on docutag(id);
92 create index in_docutag on docutag(initid);
93 ";
94 }
95 ?>
← centre documentaire © anakeen