Documentation

EasyBlogTableComment extends EasyBlogTable
in package

Table of Contents

Properties

$author  : EasyBlogTableProfile
Stores the comment author object. Cached locally and not on static
$comment  : mixed
$created  : mixed
$created_by  : mixed
$email  : mixed
$hits  : mixed
$id  : mixed
$ip  : mixed
$lft  : mixed
$modified  : mixed
$name  : mixed
$ordering  : mixed
$parent_id  : mixed
$post_id  : mixed
$publish_down  : mixed
$publish_up  : mixed
$published  : mixed
$rgt  : mixed
$sent  : mixed
$title  : mixed
$url  : mixed
$vote  : mixed
$_supportNullValue  : mixed

Methods

__construct()  : mixed
bind()  : mixed
Bind the table properties
bindPost()  : mixed
Responsible to bind values into itself.
delete()  : mixed
Overrides the parent's delete method
getAuthor()  : mixed
Retrieves the comment author
getAuthorAvatar()  : mixed
Retrieves the comment author avatar
getAuthorName()  : mixed
Retrieves the comment author name
getBlog()  : mixed
Retrieves the blog object associated with this comment
getContent()  : mixed
Retrieves the formatted comment
getCreated()  : mixed
Retrieves the created date object
getDBO()  : mixed
Retrieves the database object
getInstance()  : mixed
Tired of fixing conflicts with JTable::getInstance . We'll overload their method here.
getParams()  : mixed
Generic method to retrive raw json params from the table
getParentComment()  : mixed
Check and retrieve the comment comment.
getPermalink()  : mixed
Retrieve the permalink to the comment
getSubscribers()  : mixed
Retrieve a list of user id's from the following:
getTitle()  : mixed
Retrieves the translated title
getUrl()  : mixed
Retrieves the comment url
isCreator()  : mixed
isModerated()  : mixed
Determines if the comment is moderated
isPublished()  : mixed
Determines if the comment is published
isReply()  : mixed
isSpam()  : mixed
Determines if this comment is a spam
isUnpublished()  : mixed
Determines if the comment is unpublished
processEmails()  : mixed
Process email notifications
publish()  : mixed
Publishes a comment
removeStream()  : mixed
Deletes any stream related to this comment
reset()  : void
Method to reset class properties to the defaults set in the class definition. It will ignore the primary key as well as any private class properties.
store()  : mixed
Override parent's store behavior
toArray()  : mixed
Converts a table layer into an array
unpublish()  : mixed
Allows caller to unpublish a comment
updateOrdering()  : mixed
Method to update ordering before a comment is saved.
updateSent()  : mixed
validate()  : mixed
Validates the comment
validateData()  : mixed
Validates the comment posted
validatePost()  : mixed
Validates posted data

Properties

$comment

public mixed $comment = \null

$created

public mixed $created = \null

$created_by

public mixed $created_by = \null

$modified

public mixed $modified = \null

$ordering

public mixed $ordering = \null

$parent_id

public mixed $parent_id = \null

$post_id

public mixed $post_id = \null

$publish_down

public mixed $publish_down = \null

$publish_up

public mixed $publish_up = \null

$published

public mixed $published = \null

$_supportNullValue

protected mixed $_supportNullValue = true

Methods

__construct()

public __construct(mixed &$db) : mixed
Parameters
$db : mixed

bind()

Bind the table properties

public bind(mixed $src[, mixed $ignore = [] ]) : mixed
Parameters
$src : mixed
$ignore : mixed = []
Tags
since
1.1.0
access

public

bindPost()

Responsible to bind values into itself.

public bindPost(array<string|int, mixed> $post) : mixed
Parameters
$post : array<string|int, mixed>

An array of posted values.

Tags
access

public

delete()

Overrides the parent's delete method

public delete([mixed $pk = null ]) : mixed
Parameters
$pk : mixed = null
Tags
since
4.0
access

public

getAuthor()

Retrieves the comment author

public getAuthor() : mixed
Tags
since
4.0
access

public

getAuthorAvatar()

Retrieves the comment author avatar

public getAuthorAvatar() : mixed
Tags
since
4.0
access

public

getAuthorName()

Retrieves the comment author name

public getAuthorName() : mixed
Tags
since
4.0
access

public

getBlog()

Retrieves the blog object associated with this comment

public getBlog() : mixed
Tags
since
4.0
access

public

getContent()

Retrieves the formatted comment

public getContent([mixed $truncate = true ]) : mixed
Parameters
$truncate : mixed = true
Tags
since
4.0
access

public

getCreated()

Retrieves the created date object

public getCreated() : mixed
Tags
since
4.0
access

public

getDBO()

Retrieves the database object

public getDBO() : mixed
Tags
since
6.0.0
access

public

getInstance()

Tired of fixing conflicts with JTable::getInstance . We'll overload their method here.

public static getInstance(string $type[, string $prefix = 'JTable' ][, array<string|int, mixed> $config = [] ]) : mixed
Parameters
$type : string

The type (name) of the JTable class to get an instance of.

$prefix : string = 'JTable'

An optional prefix for the table class name.

$config : array<string|int, mixed> = []

An optional array of configuration values for the JTable object.

Tags
link
http://docs.joomla.org/JTable/getInstance
since
11.1
Return values
mixed

A JTable object if found or boolean false if one could not be found.

getParams()

Generic method to retrive raw json params from the table

public final getParams() : mixed
Tags
since
1.1.0
access

public

getParentComment()

Check and retrieve the comment comment.

public getParentComment() : mixed
Tags
since
5.0
access

public

Retrieve the permalink to the comment

public getPermalink([mixed $xhtml = false ]) : mixed
Parameters
$xhtml : mixed = false
Tags
since
6.0
access

public

getSubscribers()

Retrieve a list of user id's from the following:

public getSubscribers(mixed $blog, mixed $excludeUsers) : mixed
  • Users who subscribed to the blog entry
Parameters
$blog : mixed
$excludeUsers : mixed

getTitle()

Retrieves the translated title

public getTitle() : mixed
Tags
since
1.1.0
access

public

getUrl()

Retrieves the comment url

public getUrl() : mixed
Tags
since
5.4.9
access

public

isCreator()

public isCreator([mixed $id = '' ]) : mixed
Parameters
$id : mixed = ''

isModerated()

Determines if the comment is moderated

public isModerated() : mixed
Tags
since
5.0
access

public

isPublished()

Determines if the comment is published

public isPublished() : mixed
Tags
since
5.1
access

public

isSpam()

Determines if this comment is a spam

public isSpam() : mixed
Tags
since
4.0
access

public

isUnpublished()

Determines if the comment is unpublished

public isUnpublished() : mixed
Tags
since
4.0
access

public

processEmails()

Process email notifications

public processEmails(mixed $isModerated, mixed $blog[, mixed $task = '' ]) : mixed
Parameters
$isModerated : mixed
$blog : mixed
$task : mixed = ''
Tags
since
4.0
access

public

publish()

Publishes a comment

public publish([mixed $pks = null ][, mixed $state = 1 ][, mixed $userId = 0 ]) : mixed
Parameters
$pks : mixed = null
$state : mixed = 1
$userId : mixed = 0
Tags
since
4.0
access

public

removeStream()

Deletes any stream related to this comment

public removeStream() : mixed
Tags
since
4.0
access

public

reset()

Method to reset class properties to the defaults set in the class definition. It will ignore the primary key as well as any private class properties.

public reset() : void
Tags
link
http://docs.joomla.org/JTable/reset
since
11.1

store()

Override parent's store behavior

public store([mixed $isModerated = false ]) : mixed
Parameters
$isModerated : mixed = false
Tags
since
4.0
access

public

toArray()

Converts a table layer into an array

public toArray() : mixed
Tags
since
1.1.0
access

public

unpublish()

Allows caller to unpublish a comment

public unpublish() : mixed
Tags
since
4.0
access

public

updateOrdering()

Method to update ordering before a comment is saved.

public updateOrdering() : mixed

updateSent()

public updateSent() : mixed

validate()

Validates the comment

public validate(mixed $type) : mixed
Parameters
$type : mixed
Tags
since
5.0.37
access

public

validateData()

Validates the comment posted

public validateData() : mixed
Tags
since
4.0
access

public

validatePost()

Validates posted data

public validatePost(mixed $post) : mixed
Parameters
$post : mixed
Tags
since
4.0
access

public


        
On this page

Search results