Documentation

EasyBlogEasySocial extends EasyBlog
in package

Table of Contents

Properties

$app  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$file  : mixed
$input  : mixed
$jconfig  : mixed
$lang  : mixed
$my  : mixed
$string  : mixed

Methods

__construct()  : mixed
addIndexerNewBlog()  : mixed
Creates a new stream for new comments in EasyBlog
assignBadge()  : mixed
Assign badge
assignPoints()  : mixed
Assign points
buildPrivacyQuery()  : mixed
Builds the sql query for privacy
createBlogStream()  : mixed
Creates a new stream for new blog post
createCommentStream()  : mixed
Creates a new stream for new comments in EasyBlog
createFeaturedBlogStream()  : mixed
Creates a new stream for new blog post
createReactionStream()  : mixed
Creates a new stream for new reaction
exists()  : mixed
Determines if EasySocial is installed on the site.
getCommentCount()  : mixed
Returns the comment counter
getCommentHTML()  : mixed
Displays comments
getCover()  : mixed
Retrieves the cover for the user
getError()  : mixed
getErrors()  : mixed
getEvents()  : mixed
Retrieves a list of events joined by the user
getFriendsHtml()  : mixed
Renders the friend link
getFriendsIds()  : mixed
Retrieve friend ids of specified user
getGroups()  : mixed
Retrieves a list of groups joined by the user
getMessagingHtml()  : mixed
Renders the messaging link
getPages()  : mixed
Retrieves a list of pages joined by the user
getParentCommentTotalCount()  : mixed
Retrieve total of parent comment count
getPoints()  : mixed
Displays the user's points
getStreamId()  : mixed
Retrieves the stream id given the appropriate item contexts
getSubscriberAccessQuery()  : mixed
Generate subscribers access query for blog privacy
getToolbar()  : mixed
Retrieves EasySocial's toolbar
getToolbarBadges()  : mixed
Retrieves a list of badges from the user
getToolbarDropdown()  : mixed
Renders the toolbar dropdown html
hasError()  : mixed
hasErrors()  : mixed
init()  : mixed
Initializes EasySocial
isBlogAppInstalled()  : mixed
Determine if easysocial's blog apps installed for particular group
isLegacy()  : mixed
Determines if this is EasySocial prior to 2.x
isMobile()  : mixed
Determines if this is a mobile layout
isTablet()  : mixed
Determines if this is a tablet layout
loadLanguage()  : mixed
Helper method to load language
notifySubscribers()  : mixed
Notify site subscribers whenever a new blog post is created
removeEmbedTags()  : mixed
Cleanup given content by removing embed tags
removePostCommentStream()  : mixed
Removes comments related streams from EasySocial
removePostStream()  : mixed
Removes a stream from EasySocial
renderMiniHeader()  : mixed
Renders the mini header of EasySocial
setError()  : mixed
truncateContent()  : mixed
updateBlogPrivacy()  : mixed
user()  : mixed
SocialUser layer
getVideo()  : mixed
prepareContent()  : mixed

Properties

$app

public mixed $app = \null

$config

public mixed $config = \null

$db

public mixed $db = \null

$doc

public mixed $doc = \null

$input

public mixed $input = \null

$jconfig

public mixed $jconfig = \null

$lang

public mixed $lang = \null

$my

public mixed $my = \null

$string

public mixed $string = \null

Methods

addIndexerNewBlog()

Creates a new stream for new comments in EasyBlog

public addIndexerNewBlog(EasyBlogPost $blog) : mixed
Parameters
$blog : EasyBlogPost
Tags
since
5.1
access

public

assignBadge()

Assign badge

public assignBadge(mixed $rule, mixed $message[, mixed $creatorId = null ]) : mixed
Parameters
$rule : mixed
$message : mixed
$creatorId : mixed = null
Tags
since
5.2
access

public

assignPoints()

Assign points

public assignPoints(mixed $rule[, mixed $creatorId = null ]) : mixed
Parameters
$rule : mixed
$creatorId : mixed = null
Tags
since
5.2
access

public

buildPrivacyQuery()

Builds the sql query for privacy

public buildPrivacyQuery([mixed $alias = 'a' ][, mixed $includeAnd = true ]) : mixed
Parameters
$alias : mixed = 'a'
$includeAnd : mixed = true
Tags
since
5.2
access

public

createBlogStream()

Creates a new stream for new blog post

public createBlogStream(mixed $blog, mixed $isNew) : mixed
Parameters
$blog : mixed
$isNew : mixed
Tags
since
5.2
access

public

createCommentStream()

Creates a new stream for new comments in EasyBlog

public createCommentStream(mixed $comment, mixed $blog) : mixed
Parameters
$comment : mixed
$blog : mixed
Tags
since
5.2
access

public

createFeaturedBlogStream()

Creates a new stream for new blog post

public createFeaturedBlogStream(EasyBlogPost $post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
5.2
access

public

createReactionStream()

Creates a new stream for new reaction

public createReactionStream(mixed $postId, mixed $historyId) : mixed
Parameters
$postId : mixed
$historyId : mixed
Tags
since
5.1
access

public

exists()

Determines if EasySocial is installed on the site.

public exists() : mixed
Tags
since
5.2
access

public

getCommentCount()

Returns the comment counter

public getCommentCount(mixed $blog) : mixed
Parameters
$blog : mixed
Tags
since
5.2
access

public

getCommentHTML()

Displays comments

public getCommentHTML(mixed $blog) : mixed
Parameters
$blog : mixed
Tags
since
5.2
access

public

getCover()

Retrieves the cover for the user

public getCover([mixed $id = null ]) : mixed
Parameters
$id : mixed = null
Tags
since
5.2.0
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getEvents()

Retrieves a list of events joined by the user

public getEvents() : mixed
Tags
since
5.2
access

public

getFriendsHtml()

Renders the friend link

public getFriendsHtml(mixed $authorId) : mixed
Parameters
$authorId : mixed
Tags
since
5.2
access

public

getFriendsIds()

Retrieve friend ids of specified user

public getFriendsIds(mixed $userId) : mixed
Parameters
$userId : mixed
Tags
since
5.2.6
access

public

getGroups()

Retrieves a list of groups joined by the user

public getGroups() : mixed
Tags
since
5.2
access

public

getMessagingHtml()

Renders the messaging link

public getMessagingHtml(mixed $authorId) : mixed
Parameters
$authorId : mixed
Tags
since
5.2
access

public

getPages()

Retrieves a list of pages joined by the user

public getPages() : mixed
Tags
since
5.2
access

public

getParentCommentTotalCount()

Retrieve total of parent comment count

public getParentCommentTotalCount(mixed $comment) : mixed
Parameters
$comment : mixed
Tags
since
6.0.10
access

public

getPoints()

Displays the user's points

public getPoints(mixed $id) : mixed
Parameters
$id : mixed
Tags
since
5.2
access

public

getStreamId()

Retrieves the stream id given the appropriate item contexts

public getStreamId(mixed $contextId, mixed $contextType[, mixed $verb = '' ]) : mixed
Parameters
$contextId : mixed
$contextType : mixed
$verb : mixed = ''
Tags
since
5.2
access

public

getSubscriberAccessQuery()

Generate subscribers access query for blog privacy

public getSubscriberAccessQuery(mixed $value, mixed $column, mixed $authorId) : mixed
Parameters
$value : mixed
$column : mixed
$authorId : mixed
Tags
since
5.2.6
access

public

getToolbar()

Retrieves EasySocial's toolbar

public getToolbar() : mixed
Tags
since
5.2
access

public

getToolbarBadges()

Retrieves a list of badges from the user

public getToolbarBadges([mixed $userId = null ]) : mixed
Parameters
$userId : mixed = null
Tags
since
5.2.0
access

public

getToolbarDropdown()

Renders the toolbar dropdown html

public getToolbarDropdown() : mixed
Tags
since
5.2.0
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

init()

Initializes EasySocial

public static init() : mixed
Tags
since
5.2
access

public

isBlogAppInstalled()

Determine if easysocial's blog apps installed for particular group

public isBlogAppInstalled(mixed $group) : mixed
Parameters
$group : mixed
Tags
since
5.2
access

public

isLegacy()

Determines if this is EasySocial prior to 2.x

public isLegacy() : mixed
Tags
since
5.2
access

public

isMobile()

Determines if this is a mobile layout

public isMobile() : mixed
Tags
since
5.1
access

public

isTablet()

Determines if this is a tablet layout

public isTablet() : mixed
Tags
since
5.3
access

public

loadLanguage()

Helper method to load language

public loadLanguage([mixed $admin = false ]) : mixed
Parameters
$admin : mixed = false
Tags
since
5.0
access

public

notifySubscribers()

Notify site subscribers whenever a new blog post is created

public notifySubscribers(EasyBlogPost $blog, mixed $action[, mixed $comment = null ]) : mixed
Parameters
$blog : EasyBlogPost
$action : mixed
$comment : mixed = null
Tags
since
5.2
access

public

removeEmbedTags()

Cleanup given content by removing embed tags

public removeEmbedTags(mixed $content) : mixed
Parameters
$content : mixed
Tags
since
5.1
access

public

removePostCommentStream()

Removes comments related streams from EasySocial

public removePostCommentStream(EasyBlogPost $post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
5.2
access

public

renderMiniHeader()

Renders the mini header of EasySocial

public renderMiniHeader(mixed $group) : mixed
Parameters
$group : mixed
Tags
since
1.4
access

public

setError()

public setError(mixed $msg) : mixed
Parameters
$msg : mixed

truncateContent()

public truncateContent(mixed $content, mixed $appParams) : mixed
Parameters
$content : mixed
$appParams : mixed

updateBlogPrivacy()

public updateBlogPrivacy(mixed $blog) : mixed
Parameters
$blog : mixed

user()

SocialUser layer

public user([mixed $id = null ]) : mixed
Parameters
$id : mixed = null
Tags
since
5.2.0
access

public

getVideo()

private getVideo(mixed $content) : mixed
Parameters
$content : mixed

prepareContent()

private prepareContent(mixed &$content) : mixed
Parameters
$content : mixed

        
On this page

Search results