implement rudimental form for creating Quests and Questgroups
This commit is contained in:
parent
b64577a221
commit
bfe9155fe4
7 changed files with 271 additions and 7 deletions
|
|
@ -34,6 +34,21 @@
|
|||
|
||||
|
||||
|
||||
/**
|
||||
* Get all registered Questtypes.
|
||||
*
|
||||
* @return array List of registered Questtypes
|
||||
*/
|
||||
public function getQuesttypes()
|
||||
{
|
||||
return $this->db->query(
|
||||
'SELECT id, title, url, classname '.
|
||||
'FROM questtypes '.
|
||||
'ORDER BY title ASC'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get a Questtype by its ID
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue