EasyBlogModules
extends EasyBlog
in package
Table of Contents
Constants
- POST_SOURCE_CONTENT_COLUMN = 'content'
- POST_SOURCE_INTRO_COLUMN = 'intro'
- POST_STRIP_TAGS = \false
- POST_TRIGGER_PLUGIN = \false
- POST_TRUNCATE = \false
- SOURCE_CONTENT = "1"
- SOURCE_HIDDEN = "-1"
- SOURCE_INTRO = "0"
Properties
- $app : mixed
- $baseurl : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $module : mixed
- $my : mixed
- $name : mixed
- $params : mixed
- $string : mixed
Methods
- __construct() : mixed
- formatPost() : mixed
- Format posts
- getCoverAlignment() : mixed
- Retrieves the cover alignment settings
- getCoverLayout() : mixed
- Retrieves the cover layout settings
- getError() : mixed
- getErrors() : mixed
- getFeaturedImage() : mixed
- getLayout() : mixed
- Retrieves the layout set in the module
- getMedia() : mixed
- Retrieve the media item from a post
- getPostCover() : mixed
- Retrieves the post cover for a post
- getResizedImage() : mixed
- getThumbnailImage() : mixed
- getWrapperClass() : mixed
- Renders the wrapper class for a module
- hasError() : mixed
- hasErrors() : mixed
- html() : mixed
- Load helpers for the module
- isMobile() : mixed
- Determines if this is a mobile layout
- isTablet() : mixed
- Determines if this is a tablet layout
- join() : mixed
- Normalize comma separated values or arrays into proper quote
- loadLanguage() : mixed
- Helper method to load language
- processItems() : mixed
- Formats the post items from modules
- renderSiteStylesheet() : mixed
- Render site stylesheet
- replaceEbdImage() : mixed
- Find EBD image and replace it
- replaceImage() : mixed
- Replace images
- requireCss() : mixed
- Initialize modules
- requireScripts() : mixed
- Initialize scripts for modules
- setError() : mixed
Constants
POST_SOURCE_CONTENT_COLUMN
public
mixed
POST_SOURCE_CONTENT_COLUMN
= 'content'
POST_SOURCE_INTRO_COLUMN
public
mixed
POST_SOURCE_INTRO_COLUMN
= 'intro'
POST_STRIP_TAGS
public
mixed
POST_STRIP_TAGS
= \false
POST_TRIGGER_PLUGIN
public
mixed
POST_TRIGGER_PLUGIN
= \false
POST_TRUNCATE
public
mixed
POST_TRUNCATE
= \false
SOURCE_CONTENT
public
mixed
SOURCE_CONTENT
= "1"
SOURCE_HIDDEN
public
mixed
SOURCE_HIDDEN
= "-1"
SOURCE_INTRO
public
mixed
SOURCE_INTRO
= "0"
Properties
$app
public
mixed
$app
= \null
$baseurl
public
mixed
$baseurl
= \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
$module
public
mixed
$module
= \null
$my
public
mixed
$my
= \null
$name
public
mixed
$name
= \null
$params
public
mixed
$params
= \null
$string
public
mixed
$string
= \null
Methods
__construct()
public
__construct(mixed $module[, mixed $requireScripts = true ][, mixed $requireCss = true ]) : mixed
Parameters
- $module : mixed
- $requireScripts : mixed = true
- $requireCss : mixed = true
formatPost()
Format posts
public
formatPost(mixed &$posts) : mixed
Parameters
- $posts : mixed
Tags
getCoverAlignment()
Retrieves the cover alignment settings
public
getCoverAlignment() : mixed
Tags
getCoverLayout()
Retrieves the cover layout settings
public
getCoverLayout() : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getFeaturedImage()
public
static getFeaturedImage(mixed &$row) : mixed
Parameters
- $row : mixed
getLayout()
Retrieves the layout set in the module
public
getLayout([mixed $default = 'default' ]) : mixed
Parameters
- $default : mixed = 'default'
Tags
getMedia()
Retrieve the media item from a post
public
getMedia(mixed &$row[, mixed $size = array() ]) : mixed
Parameters
- $row : mixed
- $size : mixed = array()
Tags
getPostCover()
Retrieves the post cover for a post
public
getPostCover(EasyBlogPost $post) : mixed
Parameters
- $post : EasyBlogPost
Tags
getResizedImage()
public
static getResizedImage(mixed $img) : mixed
Parameters
- $img : mixed
getThumbnailImage()
public
static getThumbnailImage(mixed $img) : mixed
Parameters
- $img : mixed
getWrapperClass()
Renders the wrapper class for a module
public
getWrapperClass() : mixed
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
html()
Load helpers for the module
public
html() : 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
join()
Normalize comma separated values or arrays into proper quote
public
join(mixed $items) : mixed
Parameters
- $items : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
processItems()
Formats the post items from modules
public
processItems(mixed $data) : mixed
Parameters
- $data : mixed
Tags
renderSiteStylesheet()
Render site stylesheet
public
renderSiteStylesheet() : mixed
Tags
replaceEbdImage()
Find EBD image and replace it
public
replaceEbdImage(mixed $post, mixed $content) : mixed
Parameters
- $post : mixed
- $content : mixed
Tags
replaceImage()
Replace images
public
replaceImage(mixed $post) : mixed
Parameters
- $post : mixed
Tags
requireCss()
Initialize modules
public
requireCss() : mixed
Tags
requireScripts()
Initialize scripts for modules
public
requireScripts() : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed