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
addAppOpengraphTags()
Adds the app id for opengraph meta data
public
addAppOpengraphTags() : mixed
Tags
addAuthorOpengraphTags()
Adds the author for opengraph meta data
public
addAuthorOpengraphTags(mixed $author) : mixed
Parameters
- $author : mixed
Tags
addFacebookPageOpengraphTags()
Adds the Facebook page for opengraph meta data
public
addFacebookPageOpengraphTags(mixed $author) : mixed
Parameters
- $author : mixed
Tags
addImageAltOpengraphTags()
Adds the og:image:alt metadata
public
addImageAltOpengraphTags(mixed $post) : mixed
Parameters
- $post : mixed
Tags
addImageHeightOpengraphTags()
Adds the image height for opengraph meta data
public
addImageHeightOpengraphTags(mixed $height) : mixed
Parameters
- $height : mixed
Tags
addImageOpengraphTags()
Adds the image for opengraph meta data
public
addImageOpengraphTags(mixed $imageUrl) : mixed
Parameters
- $imageUrl : mixed
Tags
addImageWidthOpengraphTags()
Adds the image width for opengraph meta data
public
addImageWidthOpengraphTags(mixed $width) : mixed
Parameters
- $width : mixed
Tags
addOpenGraphTags()
Add opengraph data on the page
public
addOpenGraphTags(mixed $obj) : mixed
Parameters
- $obj : mixed
Tags
addOpenGraphTagsForAuthor()
Attaches the open graph tags in the header
public
addOpenGraphTagsForAuthor(mixed $author) : mixed
Parameters
- $author : mixed
Tags
addOpenGraphTagsForCategory()
Attaches the open graph tags in the header for single category view
public
addOpenGraphTagsForCategory(mixed $category) : mixed
Parameters
- $category : mixed
Tags
addOpenGraphTagsForPost()
Attaches the open graph tags in the header
public
addOpenGraphTagsForPost(EasyBlogPost &$post) : mixed
Parameters
- $post : EasyBlogPost
Tags
addSiteNameOpengraphTags()
Adds the site name for opengraph meta data
public
addSiteNameOpengraphTags() : mixed
Tags
addVideoOpengraphTags()
Adds the video for opengraph meta data
public
addVideoOpengraphTags(mixed $videoUrl) : mixed
Parameters
- $videoUrl : mixed
Tags
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
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
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
formatDescription()
Formats the description to be used for opengraph description
private
formatDescription(mixed $description) : mixed
Parameters
- $description : mixed
Tags
formatTitle()
Formats the description to be used for opengraph description
private
formatTitle(mixed $title) : mixed
Parameters
- $title : mixed