Platform  3.1
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  * @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.TaskRequest.php,v 1.1 2007/05/31 16:14: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.DbObj.php");
19 class TaskRequest extends DbObj
20 {
21  public $fields = array(
22  "tid", // task id
23  "fkey", // foreign key
24  "uid", // user what id
25  "uname", // use name
26  "status", // status of entry
27  "comment"
28  // comment text
29 
30  );
31  public $sup_fields = array(
32  "date", // date of entry
33 
34  );
35  /**
36  * identificator of task
37  * @public int
38  */
39  public $tid;
40  /**
41  * identificator 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  public $id_fields = array(
57  "tid"
58  );
59 
60  public $dbtable = "taskrequest";
61 
62  public $sqlcreate = <<< 'SQL'
63 CREATE TABLE taskrequest (
64  tid TEXT NOT NULL PRIMARY KEY,
65  fkey TEXT,
66  uid INT NOT NULL,
67  uname TEXT,
68  status CHAR,
69  date TIMESTAMP DEFAULT NOW(),
70  comment TEXT
71 );
73 }
74 ?>
← centre documentaire © anakeen - published under CC License - Dynacase