[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/common/pm ProjectGroup.class,1.12,1.13
From: |
tperdue |
Subject: |
[Gforge-commits] gforge/common/pm ProjectGroup.class,1.12,1.13 |
Date: |
Tue, 05 Oct 2004 13:30:20 -0500 |
Update of /cvsroot/gforge/gforge/common/pm
In directory db.perdue.net:/home/tperdue/share/dev.gforge.org/common/pm
Modified Files:
ProjectGroup.class
Log Message:
task counter fix and priority reduction to 5 items
Index: ProjectGroup.class
===================================================================
RCS file: /cvsroot/gforge/gforge/common/pm/ProjectGroup.class,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- ProjectGroup.class 15 Sep 2004 04:58:23 -0000 1.12
+++ ProjectGroup.class 5 Oct 2004 18:30:18 -0000 1.13
@@ -275,15 +275,6 @@
}
/**
- * getTaskCount - the total number of tasks in this ProjectGroup.
- *
- * @return int The count.
- * /
- function getTaskCount() {
- return $this->data_array['total'];
- }*/
-
- /**
* getStatuses - Return result set of statuses.
*
* @returns Database result set.
@@ -312,6 +303,19 @@
}
/**
+ * getCategoryObjects - Array of ArtifactCategory objects set up for
this artifact type.
+ *
+ * @return array Of ArtifactCategory objects.
+ */
+ function &getCategoryObjects() {
+ $res = $this->getCategories();
+ while ($arr =& db_fetch_array($res)) {
+ $cats[] =& new ArtifactCategory(&$this,$arr);
+ }
+ return $cats[];
+ }
+
+ /**
* getTechnicians - Return a result set of pm technicians in this group.
*
* @returns Datbase result set.
@@ -330,6 +334,17 @@
}
/**
+ * getTechnicianObjects - Array of User objects set up for this
artifact type.
+ *
+ * @return array Of User objects.
+ */
+ function &getTechnicianObjects() {
+ $res = $this->getTechnicians();
+ $arr =& util_result_column_to_array($res,0);
+ return user_get_objects($arr);
+ }
+
+ /**
* update - update a ProjectGroup in the database.
*
* @param string The project name.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/common/pm ProjectGroup.class,1.12,1.13,
tperdue <=