Documentation

EasyBlogEasyDiscuss 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
addBadge()  : mixed
Adds a badge for the particular user based on it's actions.
addNotification()  : mixed
Adds a notification item in EasyDiscuss
addPoint()  : mixed
Adds a point for the particular user based on it's actions.
addRank()  : mixed
exists()  : mixed
Determines if EasyDiscuss exists
getError()  : mixed
getErrors()  : mixed
getToolbarDropdown()  : mixed
Renders the toolbar dropdown html
hasError()  : mixed
hasErrors()  : mixed
insertNotification()  : mixed
Inserts a new notification for EasyDiscuss
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
log()  : mixed
Add's a history in EasyDiscuss which will be later reused to calculate their badges or achievements.
readNotification()  : mixed
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

$string

public mixed $string = \null

Methods

addBadge()

Adds a badge for the particular user based on it's actions.

public addBadge(mixed $action, mixed $targetId) : mixed
Parameters
$action : mixed
$targetId : mixed
Tags
access

public

addNotification()

Adds a notification item in EasyDiscuss

public addNotification(mixed &$blog, mixed $title, mixed $type, mixed $target, mixed $author, mixed $link) : mixed
Parameters
$blog : mixed
$title : mixed
$type : mixed
$target : mixed
$author : mixed
$link : mixed
Tags
since
5.2.0
access

public

addPoint()

Adds a point for the particular user based on it's actions.

public addPoint(mixed $action, mixed $targetId) : mixed
Parameters
$action : mixed
$targetId : mixed
Tags
access

public

addRank()

public addRank(mixed $targetId) : mixed
Parameters
$targetId : mixed

exists()

Determines if EasyDiscuss exists

public exists() : mixed
Tags
since
4.0
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getToolbarDropdown()

Renders the toolbar dropdown html

public getToolbarDropdown() : mixed
Tags
since
5.2.0
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

insertNotification()

Inserts a new notification for EasyDiscuss

public insertNotification(mixed $command, mixed $post) : mixed
Parameters
$command : mixed
$post : 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

log()

Add's a history in EasyDiscuss which will be later reused to calculate their badges or achievements.

public log(mixed $action, mixed $targetId, mixed $title) : mixed
Parameters
$action : mixed
$targetId : mixed
$title : mixed
Tags
access

public

readNotification()

public readNotification(mixed $targetId, mixed $notificationType) : mixed
Parameters
$targetId : mixed
$notificationType : mixed

setError()

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

        
On this page

Search results