Documentation

EasyBlogFormatterFeeds extends EasyBlogFormatterStandard
in package

Table of Contents

Properties

$app  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$input  : mixed
$jconfig  : mixed
$lang  : mixed
$my  : mixed
$string  : mixed
$cache  : mixed
$items  : mixed
$limitstart  : mixed
$options  : mixed

Methods

__construct()  : mixed
addNoFollow()  : string
Adds rel="nofollow" to all the links within the content
execute()  : mixed
Format posts for RSS feed consumption
formatMicroblog()  : mixed
Formats the microblog posts
getError()  : mixed
getErrors()  : mixed
getPostIds()  : mixed
Retrieves all post id's given a collection of items
getRssEmail()  : mixed
Sets the rss author email
hasError()  : mixed
hasErrors()  : mixed
hasReadmore()  : mixed
Determines if a content requires a read more link.
isImageExternal()  : mixed
Determines if the image url is an external image
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
password()  : mixed
Determines if the blog object requires password
preloadAuthors()  : mixed
Preloads a list of authors
preloadCustomFields()  : mixed
Retrieves a list of custom fields
preloadFeaturedItems()  : mixed
Retrieves a list of featured items
preloadPrimaryCategories()  : mixed
Retrieves a list of categories
preloadTags()  : mixed
Retrieves a list of featured items
sanitize()  : mixed
Used in json formatters
setError()  : mixed
strip_only()  : mixed
Reverse of strip_tags
stripCodes()  : mixed
Remove known dirty codes from the content
truncateByBreak()  : mixed
truncateByChars()  : mixed
truncateByParagraph()  : mixed
truncateByWords()  : 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

$my

public mixed $my = \null

$string

public mixed $string = \null

$limitstart

protected mixed $limitstart = ''

$options

protected mixed $options = \null

Methods

__construct()

public __construct(mixed &$items[, mixed $cache = true ][, mixed $options = array() ]) : mixed
Parameters
$items : mixed
$cache : mixed = true
$options : mixed = array()

addNoFollow()

Adds rel="nofollow" to all the links within the content

public addNoFollow(mixed $content) : string
Parameters
$content : mixed
Tags
since
4.0
access

public

Return values
string

The content with applied rel="nofollow"

execute()

Format posts for RSS feed consumption

public execute() : mixed
Tags
since
5.1
access

public

formatMicroblog()

Formats the microblog posts

public static formatMicroblog(EasyBlogPost &$blog) : mixed
Parameters
$blog : EasyBlogPost
Tags
since
5.0
access

public

@return

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getPostIds()

Retrieves all post id's given a collection of items

public getPostIds() : mixed
Tags
since
5.0
access

public

@return

getRssEmail()

Sets the rss author email

public getRssEmail(mixed $author) : mixed
Parameters
$author : mixed
Tags
since
5.1
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

hasReadmore()

Determines if a content requires a read more link.

public hasReadmore(EasyBlogPost &$blog) : mixed
Parameters
$blog : EasyBlogPost
Tags
since
4.0
access

public

isImageExternal()

Determines if the image url is an external image

public isImageExternal(mixed $url) : mixed
Parameters
$url : mixed
Tags
since
5.4.0
access

public

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

password()

Determines if the blog object requires password

public password(EasyBlogPost &$blog) : mixed
Parameters
$blog : EasyBlogPost
Tags
since
4.0
access

public

@return

preloadAuthors()

Preloads a list of authors

public preloadAuthors() : mixed
Tags
since
5.0
access

public

@return

preloadCustomFields()

Retrieves a list of custom fields

public preloadCustomFields() : mixed
Tags
since
5.0
access

public

@return

preloadFeaturedItems()

Retrieves a list of featured items

public preloadFeaturedItems() : mixed
Tags
since
5.0
access

public

@return

preloadPrimaryCategories()

Retrieves a list of categories

public preloadPrimaryCategories() : mixed
Tags
since
5.0
access

public

@return

preloadTags()

Retrieves a list of featured items

public preloadTags() : mixed
Tags
since
5.0
access

public

@return

sanitize()

Used in json formatters

public sanitize(mixed $text) : mixed
Parameters
$text : mixed
Tags
since
4.0
access

public

@return

setError()

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

strip_only()

Reverse of strip_tags

public strip_only(mixed $str, mixed $tags[, mixed $stripContent = false ]) : mixed
Parameters
$str : mixed
$tags : mixed
$stripContent : mixed = false
Tags
since
4.0
access

public

truncateByBreak()

public truncateByBreak(mixed $content) : mixed
Parameters
$content : mixed

truncateByChars()

public truncateByChars(mixed $content) : mixed
Parameters
$content : mixed

truncateByParagraph()

public truncateByParagraph() : mixed

truncateByWords()

public truncateByWords(mixed $content) : mixed
Parameters
$content : mixed

        
On this page

Search results