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