EasyBlogPush
extends EasyBlog
in package
Table of Contents
Properties
- $app : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $lib : mixed
- $my : mixed
- $string : mixed
Methods
- __construct() : mixed
- createFilter() : mixed
- Create a filter rule
- createOperator() : mixed
- Create an operator rule
- generateScripts() : mixed
- Generates the necessary script to activate subscription
- getError() : mixed
- getErrors() : mixed
- hasError() : mixed
- hasErrors() : mixed
- isEnabled() : mixed
- Determines if onesignal is enabled
- 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
- notify() : mixed
- Notifies the push api (onesignal)
- 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
$lib
public
mixed
$lib
= \null
$my
public
mixed
$my
= \null
$string
public
mixed
$string
= \null
Methods
__construct()
public
__construct() : mixed
createFilter()
Create a filter rule
public
createFilter(mixed $field, mixed $key, mixed $relation, mixed $value) : mixed
Parameters
- $field : mixed
- $key : mixed
- $relation : mixed
- $value : mixed
Tags
createOperator()
Create an operator rule
public
createOperator(mixed $operator) : mixed
Parameters
- $operator : mixed
Tags
generateScripts()
Generates the necessary script to activate subscription
public
generateScripts() : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
isEnabled()
Determines if onesignal is enabled
public
isEnabled() : 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
notify()
Notifies the push api (onesignal)
public
notify(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed