* Code for cmmi.
This commit is contained in:
@@ -833,6 +833,21 @@ class treeModel extends model
|
||||
return html::a(helper::createLink('project', 'story', "projectID={$projectID}&orderBy=&type=byModule¶m={$module->id}"), $module->name, '_self', "id='module{$module->id}'");
|
||||
}
|
||||
|
||||
/**
|
||||
* Create link of requirement for cmmi.
|
||||
*
|
||||
* @param string $type
|
||||
* @param object $module
|
||||
* @param array $extra
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
public function createRequirementLink($type, $module, $extra)
|
||||
{
|
||||
$projectID = $extra['projectID'];
|
||||
return html::a(helper::createLink('project', 'requirement', "projectID={$projectID}&orderBy=&type=byModule¶m={$module->id}"), $module->name, '_self', "id='module{$module->id}'");
|
||||
}
|
||||
|
||||
/**
|
||||
* Create link of a doc.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user