EasyBlogFormatterTeamblogs
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
- formatMicroblog() : mixed
- Formats the microblog posts
- getError() : mixed
- getErrors() : mixed
- getPostIds() : mixed
- Retrieves all post id's given a collection of items
- hasError() : mixed
- hasErrors() : mixed
- hasReadmore() : mixed
- Determines if a content requires a read more link.
- 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
$cache
protected
mixed
$cache
= \null
$items
protected
mixed
$items
= \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
Return values
string —The content with applied rel="nofollow"
execute()
public
execute() : mixed
formatMicroblog()
Formats the microblog posts
public
static formatMicroblog(EasyBlogPost &$blog) : mixed
Parameters
- $blog : EasyBlogPost
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getPostIds()
Retrieves all post id's given a collection of items
public
getPostIds() : mixed
Tags
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
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
password()
Determines if the blog object requires password
public
password(EasyBlogPost &$blog) : mixed
Parameters
- $blog : EasyBlogPost
Tags
preloadAuthors()
Preloads a list of authors
public
preloadAuthors() : mixed
Tags
preloadCustomFields()
Retrieves a list of custom fields
public
preloadCustomFields() : mixed
Tags
preloadFeaturedItems()
Retrieves a list of featured items
public
preloadFeaturedItems() : mixed
Tags
preloadPrimaryCategories()
Retrieves a list of categories
public
preloadPrimaryCategories() : mixed
Tags
preloadTags()
Retrieves a list of featured items
public
preloadTags() : mixed
Tags
sanitize()
Used in json formatters
public
sanitize(mixed $text) : mixed
Parameters
- $text : mixed
Tags
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
stripCodes()
Remove known dirty codes from the content
public
stripCodes(EasyBlogTableBlog &$blog) : mixed
Parameters
- $blog : EasyBlogTableBlog
Tags
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