summaryrefslogtreecommitdiffstats
path: root/lib/model/Role.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/model/Role.php')
-rw-r--r--lib/model/Role.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/model/Role.php b/lib/model/Role.php
new file mode 100644
index 0000000..c63fa75
--- /dev/null
+++ b/lib/model/Role.php
@@ -0,0 +1,20 @@
+<?php
+
+/**
+ * Subclass for representing a row from the 'role' table.
+ *
+ *
+ *
+ * @package lib.model
+ */
+class Role extends BaseRole
+{
+ const SUPERADMIN = 1;
+ const DOMAINMASTER = 2;
+ const MAILBOXMASTER = 3;
+
+ public function __toString()
+ {
+ return $this->getName();
+ }
+}