PostBy
in
Table of Contents
Methods
- checkContentShareable() : bool
- checkPostBy() : bool
- getPrivacyPostBy() : int
- Get privacy base on owner's requirement Page => 0 (public) Group => privacy_item User => 1 (friend).
- hasFeedDetailPage() : bool
- hasNamedNotification() : null|string
- hasRemoveFeed() : bool
Methods
checkContentShareable()
public
checkContentShareable(User $user[, Content|null $content = null ]) : bool
Parameters
Return values
boolcheckPostBy()
public
checkPostBy(User $user[, Content|null $content = null ]) : bool
Parameters
Tags
Return values
boolgetPrivacyPostBy()
Get privacy base on owner's requirement Page => 0 (public) Group => privacy_item User => 1 (friend).
public
getPrivacyPostBy() : int
Return values
inthasFeedDetailPage()
public
hasFeedDetailPage() : bool
Return values
boolhasNamedNotification()
public
hasNamedNotification() : null|string
Return values
null|stringhasRemoveFeed()
public
hasRemoveFeed(User $user[, Content|null $content = null ]) : bool