Documentation

EasyBlogSocialButtons 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

Methods

__construct()  : mixed
enabled()  : mixed
Backward compatibility for 5.0 as some 5.1 site still has overrides which uses old social buttons
get()  : mixed
Retrieve a specific button type
getError()  : mixed
getErrors()  : mixed
getExternalButtons()  : mixed
Generates the DOM for external social buttons
getInternalButtons()  : mixed
Generates the DOM for internal social buttons
hasError()  : mixed
hasErrors()  : mixed
html()  : mixed
Generates the social buttons html codes
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
setError()  : mixed
getAdapter()  : mixed
Retrieves an adapter for a social button

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

__construct()

public __construct() : mixed

enabled()

Backward compatibility for 5.0 as some 5.1 site still has overrides which uses old social buttons

public enabled() : mixed
Tags
since
5.1.3
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getExternalButtons()

Generates the DOM for external social buttons

public getExternalButtons(EasyBlogPost &$post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
5.1
access

public

getInternalButtons()

Generates the DOM for internal social buttons

public getInternalButtons(EasyBlogPost &$post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
5.1
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

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

setError()

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

getAdapter()

Retrieves an adapter for a social button

private getAdapter(mixed $button) : mixed
Parameters
$button : mixed
Tags
since
5.1
access

public


        
On this page

Search results