* finish task #3613.

This commit is contained in:
wangyidong
2018-01-24 15:35:37 +08:00
parent 0dd8eb6f05
commit a2c4e7f594
9 changed files with 184 additions and 84 deletions
+11
View File
@@ -242,4 +242,15 @@ class tutorialModel extends model
$users['test'] = 'Test';
return $users;
}
/**
* Get tutorialed.
*
* @access public
* @return string
*/
public function getTutorialed()
{
return $this->dao->select('*')->from(TABLE_CONFIG)->where('module')->eq('tutorial')->andWhere('owner')->eq($this->app->user->account)->andWhere('section')->eq('tasks')->andWhere('`key`')->eq('setting')->fetch('value');
}
}