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
$file
public
static mixed
$file
= \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
__construct()
public
__construct() : mixed
addIndexerNewBlog()
Creates a new stream for new comments in EasyBlog
public
addIndexerNewBlog(EasyBlogPost $blog) : mixed
Parameters
- $blog : EasyBlogPost
Tags
assignBadge()
Assign badge
public
assignBadge(mixed $rule, mixed $message[, mixed $creatorId = null ]) : mixed
Parameters
- $rule : mixed
- $message : mixed
- $creatorId : mixed = null
Tags
assignPoints()
Assign points
public
assignPoints(mixed $rule[, mixed $creatorId = null ]) : mixed
Parameters
- $rule : mixed
- $creatorId : mixed = null
Tags
buildPrivacyQuery()
Builds the sql query for privacy
public
buildPrivacyQuery([mixed $alias = 'a' ][, mixed $includeAnd = true ]) : mixed
Parameters
- $alias : mixed = 'a'
- $includeAnd : mixed = true
Tags
createBlogStream()
Creates a new stream for new blog post
public
createBlogStream(mixed $blog, mixed $isNew) : mixed
Parameters
- $blog : mixed
- $isNew : mixed
Tags
createCommentStream()
Creates a new stream for new comments in EasyBlog
public
createCommentStream(mixed $comment, mixed $blog) : mixed
Parameters
- $comment : mixed
- $blog : mixed
Tags
createFeaturedBlogStream()
Creates a new stream for new blog post
public
createFeaturedBlogStream(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
createReactionStream()
Creates a new stream for new reaction
public
createReactionStream(mixed $postId, mixed $historyId) : mixed
Parameters
- $postId : mixed
- $historyId : mixed
Tags
exists()
Determines if EasySocial is installed on the site.
public
exists() : mixed
Tags
getCommentCount()
Returns the comment counter
public
getCommentCount(mixed $blog) : mixed
Parameters
- $blog : mixed
Tags
getCommentHTML()
Displays comments
public
getCommentHTML(mixed $blog) : mixed
Parameters
- $blog : mixed
Tags
getCover()
Retrieves the cover for the user
public
getCover([mixed $id = null ]) : mixed
Parameters
- $id : mixed = null
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getEvents()
Retrieves a list of events joined by the user
public
getEvents() : mixed
Tags
getFriendsHtml()
Renders the friend link
public
getFriendsHtml(mixed $authorId) : mixed
Parameters
- $authorId : mixed
Tags
getFriendsIds()
Retrieve friend ids of specified user
public
getFriendsIds(mixed $userId) : mixed
Parameters
- $userId : mixed
Tags
getGroups()
Retrieves a list of groups joined by the user
public
getGroups() : mixed
Tags
getMessagingHtml()
Renders the messaging link
public
getMessagingHtml(mixed $authorId) : mixed
Parameters
- $authorId : mixed
Tags
getPages()
Retrieves a list of pages joined by the user
public
getPages() : mixed
Tags
getParentCommentTotalCount()
Retrieve total of parent comment count
public
getParentCommentTotalCount(mixed $comment) : mixed
Parameters
- $comment : mixed
Tags
getPoints()
Displays the user's points
public
getPoints(mixed $id) : mixed
Parameters
- $id : mixed
Tags
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
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
getToolbar()
Retrieves EasySocial's toolbar
public
getToolbar() : mixed
Tags
getToolbarBadges()
Retrieves a list of badges from the user
public
getToolbarBadges([mixed $userId = null ]) : mixed
Parameters
- $userId : mixed = null
Tags
getToolbarDropdown()
Renders the toolbar dropdown html
public
getToolbarDropdown() : mixed
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
init()
Initializes EasySocial
public
static init() : mixed
Tags
isBlogAppInstalled()
Determine if easysocial's blog apps installed for particular group
public
isBlogAppInstalled(mixed $group) : mixed
Parameters
- $group : mixed
Tags
isLegacy()
Determines if this is EasySocial prior to 2.x
public
isLegacy() : mixed
Tags
isMobile()
Determines if this is a mobile layout
public
isMobile() : mixed
Tags
isTablet()
Determines if this is a tablet layout
public
isTablet() : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
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
removeEmbedTags()
Cleanup given content by removing embed tags
public
removeEmbedTags(mixed $content) : mixed
Parameters
- $content : mixed
Tags
removePostCommentStream()
Removes comments related streams from EasySocial
public
removePostCommentStream(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
removePostStream()
Removes a stream from EasySocial
public
removePostStream(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
renderMiniHeader()
Renders the mini header of EasySocial
public
renderMiniHeader(mixed $group) : mixed
Parameters
- $group : mixed
Tags
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
getVideo()
private
getVideo(mixed $content) : mixed
Parameters
- $content : mixed
prepareContent()
private
prepareContent(mixed &$content) : mixed
Parameters
- $content : mixed