EasyBlogJomSocial
extends EasyBlog
in package
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $my : mixed
- $string : mixed
- $exists : mixed
Methods
- __construct() : mixed
- assignPoints() : mixed
- Assign points for jomsocial
- buildPrivacyQuery() : mixed
- Builds the privacy query when integrated with jomsocial
- createFeaturedBlogStream() : mixed
- Creates a new stream item on JomSocial when a post is featured
- exists() : mixed
- Determines if JomSocial exists on the current site
- getError() : mixed
- getErrors() : mixed
- getEvents() : mixed
- Retrieves a list of events from JomSocial
- getFriendsHtml() : mixed
- Renders the friend link
- getGroups() : mixed
- Retrieves a list of groups the user has joined / created
- getMessagingHtml() : mixed
- Renders the messaging link
- getPostTitle() : mixed
- Formats the title of the post
- getToolbar() : mixed
- Displays the toolbar of JomSocial
- hasError() : mixed
- hasErrors() : mixed
- insertActivity() : mixed
- Inserts activity stream for JomSocial
- insetCommentActivity() : mixed
- 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
- normalizeContent() : mixed
- Normalize the content for stream display purposes
- removeCommentStream() : mixed
- Removes a stream item
- removePostStream() : mixed
- Removes a stream from JomSocial
- setError() : mixed
- prepareBlogContent() : mixed
- Prepares a blog content before submitting to JomSocial's stream
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
$exists
private
mixed
$exists
= \false
Methods
__construct()
public
__construct() : mixed
assignPoints()
Assign points for jomsocial
public
assignPoints(mixed $command[, mixed $userId = null ]) : mixed
Parameters
- $command : mixed
- $userId : mixed = null
Tags
buildPrivacyQuery()
Builds the privacy query when integrated with jomsocial
public
buildPrivacyQuery() : mixed
Tags
createFeaturedBlogStream()
Creates a new stream item on JomSocial when a post is featured
public
createFeaturedBlogStream(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
exists()
Determines if JomSocial exists on the current site
public
exists() : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getEvents()
Retrieves a list of events from JomSocial
public
getEvents() : mixed
Tags
getFriendsHtml()
Renders the friend link
public
getFriendsHtml(mixed $authorId) : mixed
Parameters
- $authorId : mixed
Tags
getGroups()
Retrieves a list of groups the user has joined / created
public
getGroups() : mixed
Tags
getMessagingHtml()
Renders the messaging link
public
getMessagingHtml(mixed $authorId) : mixed
Parameters
- $authorId : mixed
Tags
getPostTitle()
Formats the title of the post
public
getPostTitle(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
getToolbar()
Displays the toolbar of JomSocial
public
getToolbar() : mixed
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
insertActivity()
Inserts activity stream for JomSocial
public
insertActivity(EasyBlogPost $post[, mixed $command = '' ][, mixed $content = '' ]) : mixed
Parameters
- $post : EasyBlogPost
- $command : mixed = ''
- $content : mixed = ''
Tags
insetCommentActivity()
public
insetCommentActivity(mixed $comment, EasyBlogPost $post) : mixed
Parameters
- $comment : mixed
- $post : EasyBlogPost
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
normalizeContent()
Normalize the content for stream display purposes
public
normalizeContent(mixed $content) : mixed
Parameters
- $content : mixed
Tags
removeCommentStream()
Removes a stream item
public
removeCommentStream(mixed $commentId) : mixed
Parameters
- $commentId : mixed
Tags
removePostStream()
Removes a stream from JomSocial
public
removePostStream(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed
prepareBlogContent()
Prepares a blog content before submitting to JomSocial's stream
private
prepareBlogContent(EasyBlogPost $post, mixed $permalink) : mixed
Parameters
- $post : EasyBlogPost
- $permalink : mixed