ActivityFeed
extends Facade
in package
Class ActivityFeed.
Tags
Table of Contents
Methods
- createActivityFeed() : Feed
- createActivityPost() : Post
- createFeedFromFeedSource() : Feed|null
- deleteActivityFeed() : bool
- deleteTagsStream() : void
- getBackgroundStatusImage() : array<string|int, mixed>|null
- getPrivacyDetail() : array<string|int, mixed>|null
- putToStream() : void
- putToTagStream() : void
- sendFeedComposeNotification() : bool
- unSnooze() : Snooze
- getFacadeAccessor() : mixed
Methods
createActivityFeed()
public
static createActivityFeed(FeedAction $feedAction) : Feed
Parameters
- $feedAction : FeedAction
Return values
FeedcreateActivityPost()
public
static createActivityPost(mixed $content, mixed $privacy, mixed $user, mixed $owner, mixed $list, mixed $relations) : Post
Parameters
- $content : mixed
- $privacy : mixed
- $user : mixed
- $owner : mixed
- $list : mixed
- $relations : mixed
Return values
PostcreateFeedFromFeedSource()
public
static createFeedFromFeedSource(Model $model, string|null $fromResource = Feed::FROM_APP_RESOURCE) : Feed|null
Parameters
- $model : Model
- $fromResource = Feed::FROM_APP_RESOURCE : string|null
Return values
Feed|nulldeleteActivityFeed()
public
static deleteActivityFeed(int $feedId) : bool
Parameters
- $feedId : int
Return values
booldeleteTagsStream()
public
static deleteTagsStream(array<string|int, mixed> $conditions) : void
Parameters
- $conditions : array<string|int, mixed>
getBackgroundStatusImage()
public
static getBackgroundStatusImage(int $bgStatusId) : array<string|int, mixed>|null
Parameters
- $bgStatusId : int
Return values
array<string|int, mixed>|nullgetPrivacyDetail()
public
static getPrivacyDetail(User $context, Feed $feed, int|null $representativePrivacy = null) : array<string|int, mixed>|null
Parameters
Return values
array<string|int, mixed>|nullputToStream()
public
static putToStream(Feed $feed) : void
Parameters
- $feed : Feed
putToTagStream()
public
static putToTagStream(Feed $feed, User $context, int $userAutoTag, bool $isUpdate = false) : void
Parameters
sendFeedComposeNotification()
public
static sendFeedComposeNotification(Feed $feed) : bool
Parameters
- $feed : Feed
Return values
boolunSnooze()
public
static unSnooze(User $user, User $owner, array<string|int, mixed> $relations = []) : Snooze
Parameters
Return values
SnoozegetFacadeAccessor()
protected
static getFacadeAccessor() : mixed