diff options
author | Philip Häusler <msquare@notrademark.de> | 2014-03-09 13:39:04 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2014-03-09 13:39:04 +0100 |
commit | f40b78faace47a564e0efbc613fac85b69ed8b3a (patch) | |
tree | df06bef42b577e28b61ade91d5a79c824061755e /includes/model | |
parent | 98f355cd86828ccb8a24f24ab06c29d53bff530c (diff) |
angeltypes about section
Diffstat (limited to 'includes/model')
-rw-r--r-- | includes/model/AngelType_model.php | 10 |
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() { |