* merge new change.

This commit is contained in:
wangyidong
2018-03-13 12:26:20 +08:00
parent dde68dcf1b
commit d35e51a15a
27 changed files with 128 additions and 133 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');
}
}