return !($is_local === Notice::LOCAL_NONPUBLIC || $is_local === Notice::GATEWAY);
}
+ /**
+ * Checks whether this notice is in "private scope" (non-public notice)
+ *
+ * @return $isPrivate Whether this notice is private
+ */
public function isPrivateScope () {
return ($this->scope != Notice::SITE_SCOPE &&
$this->scope != Notice::PUBLIC_SCOPE);
}
}
- /**
- * Checks whether this notice is in "private scope" (non-public notice)
- *
- * @return $isPrivate Whether this notice is private
- */
- public function isPrivateScope ()
- {
- return ($this->scope != Notice::SITE_SCOPE &&
- $this->scope != Notice::PUBLIC_SCOPE);
- }
-
/**
* Checks whether the current profile is allowed (in scope) to see this notice.
*