add scope flags for Notice

This commit is contained in:
Evan Prodromou 2011-03-16 22:54:57 -04:00
parent 7f74aa6c20
commit 6cdbe47e72
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,10 @@ class Notice extends Memcached_DataObject
const LOCAL_NONPUBLIC = -1;
const GATEWAY = -2;
const SITE_SCOPE = 1;
const ADDRESSEE_SCOPE = 2;
const FOLLOWER_SCOPE = 4;
function getProfile()
{
$profile = Profile::staticGet('id', $this->profile_id);