Documentation

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
since
5.1
access

public

format()

Format a list of stdclass objects into comment objects

public format(mixed $items) : mixed
Parameters
$items : mixed
Tags
since
4.0
access

public

getAdapter()

Retrieves the adapter

public getAdapter(mixed $engine) : mixed
Parameters
$engine : mixed
Tags
since
4.0
access

public

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
since
4.0
access

public

@return

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
since
5.0
access

public

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
since
5.1
access

public

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
since
4.0
access

public

@return

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
since
5.1
access

public

isBuiltin()

Determines if the comment system is a built in comment

public isBuiltin() : mixed
Tags
since
5.0
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

parseBBCode()

Processes BBCode

public static parseBBCode(mixed $text) : mixed
Parameters
$text : mixed
Tags
since
5.2.8
access

public

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
since
5.0.37
access

public

setError()

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

        
On this page

Search results