Added bitmask visibility constants
authorAlexander Ebert <ebert@woltlab.com>
Fri, 11 Nov 2011 16:12:37 +0000 (17:12 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 11 Nov 2011 16:12:37 +0000 (17:12 +0100)
wcfsetup/install/files/lib/data/option/Option.class.php

index 9c79b2681910c2dbc7594a5cc03ba1b0a392c80b..92035ee3cf66c96f4a6c38a2f82559aa9d5f918b 100644 (file)
@@ -26,6 +26,12 @@ class Option extends DatabaseObject {
         */
        protected static $databaseTableIndexName = 'optionID';
        
+       const VISIBILITY_NONE = 0;
+       const VISIBILITY_OWNER = 1;
+       const VISIBILITY_ADMINISTRATOR = 2;
+       const VISIBILITY_OTHER = 4;
+       const VISIBILITY_ALL = 7;
+       
        /**
         * @see wcf\data\DatabaseObject::handleData()
         */