define a constant for the 'owner' role of a site

This commit is contained in:
Evan Prodromou 2010-01-29 15:15:04 -05:00
parent f6eecf02fc
commit d437b76ed1
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ class Profile_role extends Memcached_DataObject
return Memcached_DataObject::pkeyGet('Profile_role', $kv);
}
const OWNER = 'owner';
const MODERATOR = 'moderator';
const ADMINISTRATOR = 'administrator';
const SANDBOXED = 'sandboxed';