Documentation

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

$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
since
5.1
access

public

getCoverAlignment()

Retrieves the cover alignment settings

public getCoverAlignment() : mixed
Tags
since
5.1
access

public

getCoverLayout()

Retrieves the cover layout settings

public getCoverLayout() : mixed
Tags
since
5.1
access

public

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
since
5.4.4
access

public

getMedia()

Retrieve the media item from a post

public getMedia(mixed &$row[, mixed $size = array() ]) : mixed
Parameters
$row : mixed
$size : mixed = array()
Tags
since
5.1
access

public

getPostCover()

Retrieves the post cover for a post

public getPostCover(EasyBlogPost $post) : mixed
Parameters
$post : EasyBlogPost
Tags
since
5.1
access

public

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
since
5.1
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

html()

Load helpers for the module

public html() : mixed
Tags
since
6.0.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

join()

Normalize comma separated values or arrays into proper quote

public join(mixed $items) : mixed
Parameters
$items : mixed
Tags
since
5.1
access

public

loadLanguage()

Helper method to load language

public loadLanguage([mixed $admin = false ]) : mixed
Parameters
$admin : mixed = false
Tags
since
5.0
access

public

processItems()

Formats the post items from modules

public processItems(mixed $data) : mixed
Parameters
$data : mixed
Tags
since
5.1
access

public

renderSiteStylesheet()

Render site stylesheet

public renderSiteStylesheet() : mixed
Tags
since
5.1
access

public

replaceEbdImage()

Find EBD image and replace it

public replaceEbdImage(mixed $post, mixed $content) : mixed
Parameters
$post : mixed
$content : mixed
Tags
since
5.0
access

public

@return

replaceImage()

Replace images

public replaceImage(mixed $post) : mixed
Parameters
$post : mixed
Tags
since
5.1
access

public

requireCss()

Initialize modules

public requireCss() : mixed
Tags
since
5.1
access

public

requireScripts()

Initialize scripts for modules

public requireScripts() : mixed
Tags
since
5.1
access

public

setError()

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

        
On this page

Search results