EasyBlogComment
extends EasyBlog
in package
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $my : mixed
- $pagination : mixed
- $string : mixed
Methods
- __construct() : mixed
- allowPreview() : mixed
- Determines if we should allow preview comment
- cleanup() : mixed
- Cleanup any unused code
- format() : mixed
- Format a list of stdclass objects into comment objects
- getAdapter() : mixed
- Retrieves the adapter
- getBlogComment() : mixed
- Retrieves a list of comments
- getBlogCommentLite() : mixed
- getCommentCount() : mixed
- Retrieves the comment count for the post
- getCommentHTML() : mixed
- Deprecated. Use @html instead
- getError() : mixed
- getErrors() : mixed
- getLikesAuthors() : mixed
- Retrieves the like authors for a particular comment
- getPreviewBlogComment() : mixed
- Retrieves a list of preview comments
- hasError() : mixed
- hasErrors() : mixed
- html() : mixed
- Renders the output for comments area
- isBuiltin() : mixed
- Determines if the comment system is a built in comment
- 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
- parseBBCode() : mixed
- Processes BBCode
- replaceBBCodeURL() : mixed
- replaceURL() : mixed
- Converts hyperlink text into real hyperlinks
- setError() : 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
$pagination
public
mixed
$pagination
= \null
$string
public
mixed
$string
= \null
Methods
__construct()
public
__construct() : mixed
allowPreview()
Determines if we should allow preview comment
public
allowPreview() : mixed
Tags
cleanup()
Cleanup any unused code
public
cleanup(EasyBlogPost &$post) : mixed
Parameters
- $post : EasyBlogPost
Tags
format()
Format a list of stdclass objects into comment objects
public
format(mixed $items) : mixed
Parameters
- $items : mixed
Tags
getAdapter()
Retrieves the adapter
public
getAdapter(mixed $engine) : mixed
Parameters
- $engine : mixed
Tags
getBlogComment()
Retrieves a list of comments
public
getBlogComment(mixed $postId[, mixed $limitFrontEnd = 0 ][, mixed $sort = 'asc' ][, mixed $lite = false ]) : mixed
Parameters
- $postId : mixed
- $limitFrontEnd : mixed = 0
- $sort : mixed = 'asc'
- $lite : mixed = false
Tags
getBlogCommentLite()
public
static getBlogCommentLite(mixed $blogId[, mixed $limistFrontEnd = 0 ][, mixed $sort = 'asc' ]) : mixed
Parameters
- $blogId : mixed
- $limistFrontEnd : mixed = 0
- $sort : mixed = 'asc'
getCommentCount()
Retrieves the comment count for the post
public
getCommentCount(mixed $post) : mixed
Parameters
- $post : mixed
Tags
getCommentHTML()
Deprecated. Use @html instead
public
getCommentHTML(EasyBlogPost &$blog[, mixed $comments = [] ][, mixed $pagination = '' ][, mixed $options = [] ]) : mixed
Parameters
- $blog : EasyBlogPost
- $comments : mixed = []
- $pagination : mixed = ''
- $options : mixed = []
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getLikesAuthors()
Retrieves the like authors for a particular comment
public
getLikesAuthors(mixed $contentId, mixed $type, mixed $userId) : mixed
Parameters
- $contentId : mixed
- $type : mixed
- $userId : mixed
Tags
getPreviewBlogComment()
Retrieves a list of preview comments
public
getPreviewBlogComment(mixed $postId[, mixed $limitFrontEnd = 0 ][, mixed $sort = 'asc' ][, mixed $lite = false ]) : mixed
Parameters
- $postId : mixed
- $limitFrontEnd : mixed = 0
- $sort : mixed = 'asc'
- $lite : mixed = false
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
html()
Renders the output for comments area
public
html(EasyBlogPost &$post[, mixed $comments = [] ][, mixed $pagination = '' ][, mixed $options = [] ]) : mixed
Parameters
- $post : EasyBlogPost
- $comments : mixed = []
- $pagination : mixed = ''
- $options : mixed = []
Tags
isBuiltin()
Determines if the comment system is a built in comment
public
isBuiltin() : 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
parseBBCode()
Processes BBCode
public
static parseBBCode(mixed $text) : mixed
Parameters
- $text : mixed
Tags
replaceBBCodeURL()
public
static replaceBBCodeURL(mixed $text) : mixed
Parameters
- $text : mixed
replaceURL()
Converts hyperlink text into real hyperlinks
public
static replaceURL(mixed $tmp, mixed $text) : mixed
Parameters
- $tmp : mixed
- $text : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed