Line | |
---|
1 | <?php |
---|
2 | /************************************************************************************************\ |
---|
3 | * Gerencia de projetos ageis * |
---|
4 | * by Rafael Raymundo da Silva (rafael2000@gmail.com) * |
---|
5 | * ----------------------------------------------------------------------------------------------* |
---|
6 | * This program is free software; you can redistribute it and/or modify it * |
---|
7 | * under the terms of the GNU General Public License as published by the * |
---|
8 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
9 | * option) any later version. * |
---|
10 | \***********************************************************************************************/ |
---|
11 | |
---|
12 | class listUidNumber{ |
---|
13 | |
---|
14 | var $db; |
---|
15 | var $projId; |
---|
16 | var $result; |
---|
17 | var $nameDesc; |
---|
18 | var $usrProj; |
---|
19 | |
---|
20 | function list_users_projects(){ |
---|
21 | include_once('../phpgwapi/inc/class.db.inc.php'); |
---|
22 | $this->result = $GLOBALS['phpgw']->db; |
---|
23 | $this->result->query('SELECT * FROM phpgw_agile_projects',__LINE__,__FILE__); |
---|
24 | if($this->result->num_rows()) |
---|
25 | { |
---|
26 | $i=0; |
---|
27 | while ($this->result->next_record()) |
---|
28 | { |
---|
29 | $this->projId[$i] = array($this->result->f('proj_id')); |
---|
30 | $this->db[$i] = array( |
---|
31 | $this->result->f('proj_name'), |
---|
32 | $this->result->f('proj_owner'), |
---|
33 | $this->result->f('proj_description')); |
---|
34 | //print_r($this->db); |
---|
35 | $i++; |
---|
36 | } |
---|
37 | |
---|
38 | } |
---|
39 | } |
---|
40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.