MetaFox

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
$user : User
$content : Content|null = null
Return values
bool

checkPostBy()

public checkPostBy(User $user[, Content|null $content = null ]) : bool
Parameters
$user : User
$content : Content|null = null
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Return values
bool

getPrivacyPostBy()

Get privacy base on owner's requirement Page => 0 (public) Group => privacy_item User => 1 (friend).

public getPrivacyPostBy() : int
Return values
int

hasFeedDetailPage()

public hasFeedDetailPage() : bool
Return values
bool

hasNamedNotification()

public hasNamedNotification() : null|string
Return values
null|string

hasRemoveFeed()

public hasRemoveFeed(User $user[, Content|null $content = null ]) : bool
Parameters
$user : User
$content : Content|null = null
Return values
bool

        
On this page

Search results