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
get()
Retrieve a specific button type
public
get(mixed $button, EasyBlogPost &$blog) : mixed
Parameters
- $button : mixed
- $blog : EasyBlogPost
Tags
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
getInternalButtons()
Generates the DOM for internal social buttons
public
getInternalButtons(EasyBlogPost &$post) : mixed
Parameters
- $post : EasyBlogPost
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
html()
Generates the social buttons html codes
public
html(EasyBlogPost &$post, mixed $view) : mixed
Parameters
- $post : EasyBlogPost
- $view : 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
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