* Add module to feedback.
This commit is contained in:
@@ -969,6 +969,19 @@ class treeModel extends model
|
||||
if($type == 'case') return html::a(helper::createLink('testcase', 'browse', "productID={$rootID}&branch=$branchID"), $branch, '_self', "id='branch{$branchID}'");
|
||||
}
|
||||
|
||||
/**
|
||||
* Create link of feedback.
|
||||
*
|
||||
* @param string $type
|
||||
* @param object $module
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
public function createFeedbackLink($type, $module)
|
||||
{
|
||||
return html::a(helper::createLink('feedback', 'admin', "type=byModule¶m={$module->id}"), $module->name, '_self', "id='module{$module->id}'");
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sons of a module.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user