summaryrefslogtreecommitdiff
path: root/includes/model
diff options
context:
space:
mode:
Diffstat (limited to 'includes/model')
-rw-r--r--includes/model/AngelType_model.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/model/AngelType_model.php b/includes/model/AngelType_model.php
index 8f577571..7eb23794 100644
--- a/includes/model/AngelType_model.php
+++ b/includes/model/AngelType_model.php
@@ -100,6 +100,16 @@ function AngelTypes_with_user($user) {
}
/**
+ * Returns all angeltypes.
+ */
+function AngelTypes() {
+ return sql_select("
+ SELECT *
+ FROM `AngelTypes`
+ ORDER BY `name`");
+}
+
+/**
* Returns AngelType id array
*/
function AngelType_ids() {