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
$exists
private
mixed
$exists
= \false
Methods
__construct()
public
__construct() : mixed
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
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
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
addRank()
public
addRank(mixed $targetId) : mixed
Parameters
- $targetId : mixed
exists()
Determines if EasyDiscuss exists
public
exists() : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getToolbarDropdown()
Renders the toolbar dropdown html
public
getToolbarDropdown() : mixed
Tags
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
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
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
readNotification()
public
readNotification(mixed $targetId, mixed $notificationType) : mixed
Parameters
- $targetId : mixed
- $notificationType : mixed
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed