Documentation

EasyBlogFacebook 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
addAdminOpengraphTags()  : mixed
Adds the admin id for opengraph meta data
addAppOpengraphTags()  : mixed
Adds the app id for opengraph meta data
addAuthorOpengraphTags()  : mixed
Adds the author for opengraph meta data
addFacebookPageOpengraphTags()  : mixed
Adds the Facebook page for opengraph meta data
addImageAltOpengraphTags()  : mixed
Adds the og:image:alt metadata
addImageHeightOpengraphTags()  : mixed
Adds the image height for opengraph meta data
addImageOpengraphTags()  : mixed
Adds the image for opengraph meta data
addImageWidthOpengraphTags()  : mixed
Adds the image width for opengraph meta data
addOpenGraphTags()  : mixed
Add opengraph data on the page
addOpenGraphTagsForAuthor()  : mixed
Attaches the open graph tags in the header
addOpenGraphTagsForCategory()  : mixed
Attaches the open graph tags in the header for single category view
addOpenGraphTagsForPost()  : mixed
Attaches the open graph tags in the header
addSiteNameOpengraphTags()  : mixed
Adds the site name for opengraph meta data
addVideoOpengraphTags()  : mixed
Adds the video for opengraph meta data
getError()  : mixed
getErrors()  : mixed
getImage()  : mixed
Get the image to be share on facebook
hasError()  : mixed
hasErrors()  : mixed
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
formatDescription()  : mixed
Formats the description to be used for opengraph description
formatTitle()  : mixed
Formats the description to be used for opengraph description

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

addAdminOpengraphTags()

Adds the admin id for opengraph meta data

public addAdminOpengraphTags() : mixed
Tags
since
5.3.4
access

public

addAppOpengraphTags()

Adds the app id for opengraph meta data

public addAppOpengraphTags() : mixed
Tags
since
5.3.4
access

public

addAuthorOpengraphTags()

Adds the author for opengraph meta data

public addAuthorOpengraphTags(mixed $author) : mixed
Parameters
$author : mixed
Tags
since
5.3.4
access

public

addFacebookPageOpengraphTags()

Adds the Facebook page for opengraph meta data

public addFacebookPageOpengraphTags(mixed $author) : mixed
Parameters
$author : mixed
Tags
since
5.4.0
access

public

addImageAltOpengraphTags()

Adds the og:image:alt metadata

public addImageAltOpengraphTags(mixed $post) : mixed
Parameters
$post : mixed
Tags
since
5.3.5
access

public

addImageHeightOpengraphTags()

Adds the image height for opengraph meta data

public addImageHeightOpengraphTags(mixed $height) : mixed
Parameters
$height : mixed
Tags
since
5.3.4
access

public

addImageOpengraphTags()

Adds the image for opengraph meta data

public addImageOpengraphTags(mixed $imageUrl) : mixed
Parameters
$imageUrl : mixed
Tags
since
5.3.4
access

public

addImageWidthOpengraphTags()

Adds the image width for opengraph meta data

public addImageWidthOpengraphTags(mixed $width) : mixed
Parameters
$width : mixed
Tags
since
5.3.4
access

public

addOpenGraphTags()

Add opengraph data on the page

public addOpenGraphTags(mixed $obj) : mixed
Parameters
$obj : mixed
Tags
since
5.3.4
access

public

addOpenGraphTagsForAuthor()

Attaches the open graph tags in the header

public addOpenGraphTagsForAuthor(mixed $author) : mixed
Parameters
$author : mixed
Tags
since
5.3.4
access

public

addOpenGraphTagsForCategory()

Attaches the open graph tags in the header for single category view

public addOpenGraphTagsForCategory(mixed $category) : mixed
Parameters
$category : mixed
Tags
since
5.4.9
access

public

addOpenGraphTagsForPost()

Attaches the open graph tags in the header

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

public

addSiteNameOpengraphTags()

Adds the site name for opengraph meta data

public addSiteNameOpengraphTags() : mixed
Tags
since
5.4.0
access

public

addVideoOpengraphTags()

Adds the video for opengraph meta data

public addVideoOpengraphTags(mixed $videoUrl) : mixed
Parameters
$videoUrl : mixed
Tags
since
5.3.4
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getImage()

Get the image to be share on facebook

public getImage(EasyBlogPost &$blog[, mixed $rawIntroText = '' ]) : mixed
Parameters
$blog : EasyBlogPost
$rawIntroText : mixed = ''
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

formatDescription()

Formats the description to be used for opengraph description

private formatDescription(mixed $description) : mixed
Parameters
$description : mixed
Tags
since
5.3.4
access

public

formatTitle()

Formats the description to be used for opengraph description

private formatTitle(mixed $title) : mixed
Parameters
$title : mixed
Tags
since
5.3.4
access

public


        
On this page

Search results