- Remove redeclare method of treeModel::createPracticeLink.
This commit is contained in:
@@ -1401,19 +1401,6 @@ class treeModel extends model
|
||||
return html::a(helper::createLink('traincourse', 'practicebrowse', "moduleID={$module->id}"), $module->name, '_self', "id='module{$module->id}' title='{$module->name}'");
|
||||
}
|
||||
|
||||
/**
|
||||
* Create link of practice.
|
||||
*
|
||||
* @param string $type
|
||||
* @param object $module
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
public function createPracticeLink(string $type, object $module): string
|
||||
{
|
||||
return html::a(helper::createLink('traincourse', 'practicebrowse', "moduleID={$module->id}"), $module->name, '_self', "id='module{$module->id}' title='{$module->name}'");
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成培训技能的链接。
|
||||
* Create link of trainskill.
|
||||
|
||||
Reference in New Issue
Block a user