* fix comment spelling error.
This commit is contained in:
@@ -94,7 +94,7 @@ function loadProductBuilds(productID)
|
||||
}
|
||||
|
||||
/**
|
||||
* Load project related bugs and taskes.
|
||||
* Load project related bugs and tasks.
|
||||
*
|
||||
* @param int $projectID
|
||||
* @access public
|
||||
@@ -117,7 +117,7 @@ function loadProjectRelated(projectID)
|
||||
}
|
||||
|
||||
/**
|
||||
* Load project taskes.
|
||||
* Load project tasks.
|
||||
*
|
||||
* @param int $projectID
|
||||
* @access public
|
||||
|
||||
@@ -118,7 +118,7 @@ class project extends control
|
||||
$this->view->position[] = html::a($this->createLink('project', 'browse', "projectID=$projectID"), $project->name);
|
||||
$this->view->position[] = $this->lang->project->task;
|
||||
|
||||
/* Load pager and get taskes. */
|
||||
/* Load pager and get tasks. */
|
||||
$this->app->loadClass('pager', $static = true);
|
||||
$pager = new pager($recTotal, $recPerPage, $pageID);
|
||||
$tasks = $this->loadModel('task')->getProjectTasks($projectID, $status, $orderBy, $pager);
|
||||
@@ -136,7 +136,7 @@ class project extends control
|
||||
}
|
||||
|
||||
/**
|
||||
* Browse taskes in group.
|
||||
* Browse tasks in group.
|
||||
*
|
||||
* @param int $projectID
|
||||
* @param string $groupBy the field to group by
|
||||
@@ -157,7 +157,7 @@ class project extends control
|
||||
$this->view->position[] = html::a($this->createLink('project', 'browse', "projectID=$projectID"), $project->name);
|
||||
$this->view->position[] = $this->lang->project->task;
|
||||
|
||||
/* Get taskes and group them. */
|
||||
/* Get tasks and group them. */
|
||||
$tasks = $this->loadModel('task')->getProjectTasks($projectID, $status = 'all', $groupBy);
|
||||
$groupBy = strtolower(str_replace('`', '', $groupBy));
|
||||
$taskLang = $this->lang->task;
|
||||
@@ -197,7 +197,7 @@ class project extends control
|
||||
}
|
||||
|
||||
/**
|
||||
* Import taskes undoned from other projects.
|
||||
* Import tasks undoned from other projects.
|
||||
*
|
||||
* @param int $projectID
|
||||
* @access public
|
||||
|
||||
@@ -359,7 +359,7 @@ class projectModel extends model
|
||||
}
|
||||
|
||||
/**
|
||||
* Import taskes.
|
||||
* Import tasks.
|
||||
*
|
||||
* @param int $projectID
|
||||
* @access public
|
||||
@@ -369,7 +369,7 @@ class projectModel extends model
|
||||
{
|
||||
$tasks = $this->dao->select('id, project, assignedTo, story, consumed')->from(TABLE_TASK)->where('id')->in($this->post->tasks)->fetchAll('id');
|
||||
|
||||
/* Update taskes. */
|
||||
/* Update tasks. */
|
||||
foreach($tasks as $task)
|
||||
{
|
||||
/* Save the assignedToes and stories, should linked to project. */
|
||||
|
||||
@@ -75,7 +75,7 @@ class search extends control
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a select page of stories or taskes.
|
||||
* Create a select page of stories or tasks.
|
||||
*
|
||||
* @param int $productID
|
||||
* @param int $projectID
|
||||
|
||||
@@ -370,7 +370,7 @@ class storyModel extends model
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Search related taskes. */
|
||||
/* Search related tasks. */
|
||||
$tasks = $this->dao->select('type,status')->from(TABLE_TASK)
|
||||
->where('project')->in($projects)
|
||||
->andWhere('story')->eq($storyID)
|
||||
@@ -378,7 +378,7 @@ class storyModel extends model
|
||||
->andWhere('deleted')->eq(0)
|
||||
->fetchGroup('type');
|
||||
|
||||
/* No taskes, then the stage is projected. */
|
||||
/* No tasks, then the stage is projected. */
|
||||
if(!$tasks)
|
||||
{
|
||||
$this->dao->update(TABLE_STORY)->set('stage')->eq('projected')->where('id')->eq((int)$storyID)->exec();
|
||||
|
||||
@@ -176,7 +176,7 @@ class taskModel extends model
|
||||
}
|
||||
|
||||
/**
|
||||
* Get project taskes paris.1
|
||||
* Get project tasks pairs.
|
||||
*
|
||||
* @param int $projectID
|
||||
* @param string $status
|
||||
@@ -267,7 +267,7 @@ class taskModel extends model
|
||||
}
|
||||
|
||||
/**
|
||||
* Get counts of some stories's taskes.
|
||||
* Get counts of some stories' tasks.
|
||||
*
|
||||
* @param array $stories
|
||||
* @param int $projectID
|
||||
@@ -288,7 +288,7 @@ class taskModel extends model
|
||||
}
|
||||
|
||||
/**
|
||||
* Batch process taskes.
|
||||
* Batch process tasks.
|
||||
*
|
||||
* @param int $tasks
|
||||
* @access private
|
||||
|
||||
@@ -38,7 +38,7 @@ class testtask extends control
|
||||
}
|
||||
|
||||
/**
|
||||
* Browse test taskes.
|
||||
* Browse test tasks.
|
||||
*
|
||||
* @param int $productID
|
||||
* @param string $orderBy
|
||||
|
||||
@@ -49,7 +49,7 @@ class testtaskModel extends model
|
||||
}
|
||||
|
||||
/**
|
||||
* Get test taskes of a product.
|
||||
* Get test tasks of a product.
|
||||
*
|
||||
* @param int $productID
|
||||
* @param string $orderBy
|
||||
|
||||
Reference in New Issue
Block a user