Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
Class.TaskRequest.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.TaskRequest.php,v 1.1 2007/05/31 16:14:57 eric Exp $
11
* @package FDL
12
*/
13
/**
14
*/
15
16
include_once (
"Class.DbObj.php"
);
17
class
TaskRequest
extends
DbObj
18
{
19
public
$fields
= array(
20
"tid"
,
// task id
21
"fkey"
,
// foreign key
22
"uid"
,
// user what id
23
"uname"
,
// use name
24
"status"
,
// status of entry
25
"comment"
26
// comment text
27
28
);
29
public
$sup_fields
= array(
30
"date"
,
// date of entry
31
32
);
33
public
$comment
;
34
public
$fkey
;
35
public
$status
;
36
/**
37
* identifier of task
38
* @public int
39
*/
40
public
$tid
;
41
/**
42
* identifier system of the user
43
* @public int
44
*/
45
public
$uid
;
46
/**
47
* firstname and last name of the user
48
* @public string
49
*/
50
public
$uname
;
51
/**
52
* comment date record
53
* @public date
54
*/
55
public
$date
;
56
57
public
$id_fields
= array(
58
"tid"
59
);
60
61
public
$dbtable
=
"taskrequest"
;
62
63
public
$sqlcreate
= <<<
'SQL'
64
CREATE TABLE taskrequest (
65
tid TEXT NOT NULL PRIMARY KEY,
66
fkey TEXT,
67
uid INT NOT NULL,
68
uname TEXT,
69
status CHAR,
70
date TIMESTAMP DEFAULT NOW(),
71
comment TEXT
72
);
73
SQL
;
74
}
75
?>
TaskRequest\$date
$date
Definition:
Class.TaskRequest.php:55
TaskRequest\$sqlcreate
$sqlcreate
Definition:
Class.TaskRequest.php:63
TaskRequest\$dbtable
$dbtable
Definition:
Class.TaskRequest.php:61
TaskRequest\$sup_fields
$sup_fields
Definition:
Class.TaskRequest.php:29
TaskRequest\SQL
SQL
Definition:
Class.TaskRequest.php:73
TaskRequest\$comment
$comment
Definition:
Class.TaskRequest.php:33
TaskRequest\$status
$status
Definition:
Class.TaskRequest.php:35
DbObj
Definition:
Class.DbObj.php:28
TaskRequest\$uname
$uname
Definition:
Class.TaskRequest.php:50
TaskRequest
Definition:
Class.TaskRequest.php:17
TaskRequest\$fields
$fields
Definition:
Class.TaskRequest.php:19
TaskRequest\$uid
$uid
Definition:
Class.TaskRequest.php:45
TaskRequest\$fkey
$fkey
Definition:
Class.TaskRequest.php:34
TaskRequest\$id_fields
$id_fields
Definition:
Class.TaskRequest.php:57
TaskRequest\$tid
$tid
Definition:
Class.TaskRequest.php:40
← centre documentaire
© anakeen