EasyBlogFeedAdapterMapper
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
- getError() : mixed
- getErrors() : mixed
- hasError() : mixed
- hasErrors() : mixed
- isImage() : mixed
- Given the mime, determine if the mime is an 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
- map() : mixed
- Maps the feed item with a post item
- mapContent() : mixed
- Maps the content
- setError() : mixed
- convertRelativeToAbsoluteLinks() : mixed
- Convert relative links to absolute links
- downloadImage() : mixed
- Performs image download from the RSS
- getFullContent() : mixed
- Perform a connection to the blog post to get full content
- getTitleFromLink() : mixed
- Some feed items doesn't have a title. We need to convert the link to the title
- tidyContent() : mixed
- Tidy up the html contents
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
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
isImage()
Given the mime, determine if the mime is an image
public
isImage(mixed $mime) : mixed
Parameters
- $mime : 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
map()
Maps the feed item with a post item
public
map(EasyBlogPost &$post, mixed &$item, EasyBlogTableFeed &$feed, mixed &$params) : mixed
Parameters
- $post : EasyBlogPost
- $item : mixed
- $feed : EasyBlogTableFeed
- $params : mixed
Tags
mapContent()
Maps the content
public
mapContent(EasyBlogPost &$post, mixed &$item, EasyBlogTableFeed &$feed, mixed &$params) : mixed
Parameters
- $post : EasyBlogPost
- $item : mixed
- $feed : EasyBlogTableFeed
- $params : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed
convertRelativeToAbsoluteLinks()
Convert relative links to absolute links
private
convertRelativeToAbsoluteLinks(mixed $content, mixed $absPath) : mixed
Parameters
- $content : mixed
- $absPath : mixed
Tags
downloadImage()
Performs image download from the RSS
private
downloadImage(mixed $url, mixed $post[, mixed $html = true ]) : mixed
Parameters
- $url : mixed
- $post : mixed
- $html : mixed = true
Tags
getFullContent()
Perform a connection to the blog post to get full content
private
getFullContent(mixed &$url, mixed &$item[, mixed $retry = 0 ]) : mixed
Parameters
- $url : mixed
- $item : mixed
- $retry : mixed = 0
Tags
getTitleFromLink()
Some feed items doesn't have a title. We need to convert the link to the title
private
getTitleFromLink(mixed $link) : mixed
Parameters
- $link : mixed
Tags
tidyContent()
Tidy up the html contents
private
tidyContent(mixed $html) : mixed
Parameters
- $html : mixed