Core  3.2
PHP API documentation
 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 );
74 }
75 ?>
← centre documentaire © anakeen