Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Class.DocRead.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.DocRead.php,v 1.6 2007/10/16 10:22:57 eric Exp $
11  * @package FDL
12  */
13 /**
14  */
15 
16 include_once ("Class.Doc.php");
17 class DocRead extends DbObj
18 {
19  /**
20  * identifier of document
21  * @public int
22  */
23  public $id;
24 
25  public $id_fields = array(
26  "id"
27  );
28 
29  public $dbtable = "docread";
30  public $sqlcreate = "
31 create table docread ( id int not null,
32  primary key (id),
33  owner int,
34  title varchar(256),
35  revision int ,
36  initid int,
37  fromid int,
38  doctype char,
39  locked int ,
40  allocated int ,
41  archiveid int,
42  icon text,
43  lmodify char,
44  profid int ,
45  usefor text,
46  revdate int,
47  version text,
48  cdate timestamp,
49  adate timestamp,
50  comment text,
51  classname text,
52  state text,
53  wid int ,
54  values text,
55  attrids text,
56  domainid text,
57  lockdomainid int,
58  postitid text,
59  cvid int,
60  name text,
61  dprofid int,
62  views int[],
63  prelid int,
64  atags text,
65  confidential int,
66  ldapdn text,
67  fulltext tsvector,
68  svalues text
69  );
70 create index fromid_docread on docread(fromid);
71 create index initid_docread on docread(initid);
72 create index title_docread on docread(title);
73 create index docty_docread on docread(doctype);
74 create index full_docread on docread using gist(fulltext);";
75 
76  public $fields = array(
77  "id",
78  "owner",
79  "title",
80  "revision",
81  "version",
82  "initid",
83  "fromid",
84  "doctype",
85  "locked",
86  "allocated",
87  "archiveid",
88  "icon",
89  "lmodify",
90  "profid",
91  "usefor",
92  "cdate",
93  "adate",
94  "revdate",
95  "comment",
96  "classname",
97  "state",
98  "wid",
99  "postitid",
100  "domainid",
101  "lockdomainid",
102  "cvid",
103  "name",
104  "dprofid",
105  "views",
106  "atags",
107  "prelid",
108  "confidential",
109  "ldapdn"
110  );
111 
112  public $sup_fields = array(
113  "values",
114  "svalues",
115  "attrids"
116  ); // not be in fields else trigger error
117 
118 }
119 ?>
← centre documentaire © anakeen