Documentation is available at taskclass.php
1 <?php
2 /**
3 * @author Jan H. Andersen <jha@ipwsystems.dk>
4 * @author Martin R. Larsen <mrl@ipwsystems.dk>
5 * @copyright {@link http://www.ipwsystems.dk/ IPW Systems a.s}
6 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
7 * @package METAjour
8 * @subpackage core
9 * $Id: taskclass.php,v 1.9 2005/01/07 03:52:52 jan Exp $
10 */
11
12 require_once('basicclass.php');
13
14 class task extends basic {
15
16 function task() {
17 $this->basic();
18 $this->addcolumn('name',0,UI_STRING);
19 $this->addcolumn('companyid',0,UI_RELATION,'company');
20 $this->addcolumn('content',0,UI_TEXT);
21 $this->addcolumn('priority',0,UI_STRING);
22 $this->addcolumn('status',0,UI_COMBO);
23 $this->addcolumn('typecode',0,UI_COMBO);
24 $this->addcolumn('budget',0,UI_DECIMAL,'','decimal|*|2');
25 $this->addcolumn('offer',0,UI_DECIMAL,'','decimal|*|2');
26 $this->addcolumn('expstart',0,UI_STRING);
27 $this->addcolumn('expfinish',0,UI_STRING);
28 $this->addcolumn('finished',0,UI_STRING);
29 $this->addcolumn('taskid',0,UI_RELATION,'task');
30
31 $this->removeview('createvariant');
32 }
33
34 function stdListCol() {
35 $result[] = 'name';
36 $result[] = 'priority';
37 $result[] = 'status';
38 $result[] = 'typecode';
39 $result[] = 'taskid';
40 return $result;
41 }
42
43 }
Documentation generated on Thu, 9 Jun 2005 06:54:06 +0200 by phpDocumentor 1.2.3