aboutsummaryrefslogtreecommitdiff
path: root/lib/models/DataField.class.php
diff options
context:
space:
mode:
authorDavid Siegfried <david.siegfried@uni-vechta.de>2022-09-01 08:24:35 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-09-01 08:24:35 +0000
commitbdf2f4da7b0c090f6fae71f4b1c19bfea3d6b5e0 (patch)
tree1e236643db600d9d370e28b4fd095554785c5182 /lib/models/DataField.class.php
parent1361b2929303878139a42329511accc1ccf180e8 (diff)
use SORM instead plain sql, closes #1491
Closes #1491 Merge request studip/studip!930
Diffstat (limited to 'lib/models/DataField.class.php')
-rw-r--r--lib/models/DataField.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/models/DataField.class.php b/lib/models/DataField.class.php
index d771eb2..b0b5c96 100644
--- a/lib/models/DataField.class.php
+++ b/lib/models/DataField.class.php
@@ -116,7 +116,7 @@ class DataField extends SimpleORMap implements PrivacyObject
* Returns a list of all datatype classes with an id as key and a name as
* value.
*
- * @return array() list of all datatype classes
+ * @return array list of all datatype classes
*/
public static function getDataClass()
{
@@ -136,8 +136,8 @@ class DataField extends SimpleORMap implements PrivacyObject
/**
* Return the mask for the given permission
*
- * @param string the name of the permission
- * @return integer the mask for the permission
+ * @param string $perm the name of the permission
+ * @return integer the mask for the permission
* @static
*/
public static function permMask($perm)
@@ -148,7 +148,7 @@ class DataField extends SimpleORMap implements PrivacyObject
/**
* liefert String zu gegebener user_class-Maske
*
- * @param integer the user class mask
+ * @param integer $class the user class mask
* @return string a string consisting of a comma separated list of
* permissions
*/