HasPrivacyType
in
Interface HasPrivacyType.
Privacy type is used when you want to define privacy A for owner resource. But items post on it maybe has different privacy. Example: Closed group has group privacy public, but items on the group still private to member only. Implement this to Contract User example like Group. if ($owner instanceof HasPrivacyType) $handler = $owner->getPrivacyTypeHandler()
Tags
Table of Contents
Methods
- getPrivacyType() : int
- Get privacy type.
- getPrivacyTypeHandler() : mixed
Methods
getPrivacyType()
Get privacy type.
public
getPrivacyType() : int
Return values
intgetPrivacyTypeHandler()
public
getPrivacyTypeHandler() : mixed