* Copyright 2002, Tim Perdue/GForge, LLC
* Copyright 2009, Roland Mas
*
- * This file is part of FusionForge.
+ * This file is part of FusionForge. FusionForge is free software;
+ * you can redistribute it and/or modify it under the terms of the
+ * GNU General Public License as published by the Free Software
+ * Foundation; either version 2 of the Licence, or (at your option)
+ * any later version.
*
- * FusionForge is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License,
- * or (at your option) any later version.
- *
- * FusionForge is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
+ * FusionForge is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with FusionForge; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
+ * You should have received a copy of the GNU General Public License along
+ * with FusionForge; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
require_once $gfcommon.'pm/ProjectGroup.class.php';
for ($i=0; $i < $rows; $i++) {
$project_task_id = db_result($result,$i,'project_task_id');
$arr = db_fetch_array($result);
- $task =& projecttask_get_object($project_task_id,$arr);
+ $task = projecttask_get_object($project_task_id,$arr);
$tasks[] =& $task;
}
return $tasks;
* @return an array of ProjectTask objects
*/
function &getTasksByGroupProjectName () {
- return $this->getTasksFromSQLwithParams ('SELECT ptv.*,g.group_name,pgl.project_name
+ return $this->getTasksFromSQLwithParams ('SELECT ptv.*,g.group_name,pgl.project_name
FROM project_task_vw ptv,
project_assigned_to pat,
groups g,
ORDER BY group_name,project_name',
array ($this->User->getID())) ;
}
-
+
function &getOpenTasksForDate($date) {
- return $this->getTasksFromSQLwithParams ('SELECT ptv.*,g.group_name,pgl.project_name
+ return $this->getTasksFromSQLwithParams ('SELECT ptv.*,g.group_name,pgl.project_name
FROM project_task_vw ptv,
project_assigned_to pat,
groups g,