* Add module link to practice.
This commit is contained in:
@@ -1354,6 +1354,19 @@ class treeModel extends model
|
||||
return html::a(helper::createLink('ticket', $this->app->methodName, "type=byModule¶m={$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($type, $module)
|
||||
{
|
||||
return html::a(helper::createLink('traincourse', $this->app->methodName, "module={$module->id}"), $module->name, '_self', "id='module{$module->id}' title='{$module->name}'");
|
||||
}
|
||||
|
||||
/**
|
||||
* Create link of trainskill.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user