Documentation

modLatestBlogsHelper extends EasyBlog
in package

Table of Contents

Properties

$app  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$input  : mixed
$jconfig  : mixed
$lang  : mixed
$lib  : mixed
$my  : mixed
$params  : mixed
$string  : mixed

Methods

__construct()  : mixed
getAuthorPosts()  : mixed
Retrieves recent posts by author
getCategoryPosts()  : mixed
Retrieves recent posts
getEntryPosts()  : mixed
Retrieves recent posts by author of a particular article. This only works on view=entry
getError()  : mixed
getErrors()  : mixed
getItems()  : mixed
Retrieve items based on a particular set of filter type
getPosts()  : mixed
Retrieves the latest posts
getRecentPosts()  : mixed
Retrieves recent posts
getTagsPosts()  : mixed
Retrieves recent posts by a specific tag
getTeamPosts()  : mixed
Retrieves recent posts by a specific team
getViewAllLink()  : mixed
Determine the view all link based on the module filter type.
getViewerPosts()  : mixed
Retrieves posts by the current logged in user
hasError()  : mixed
hasErrors()  : mixed
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
normalizeFilterType()  : mixed
Normalize legacy values for post types
setError()  : 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

$params

public mixed $params = []

$string

public mixed $string = \null

Methods

__construct()

public __construct(mixed $modules) : mixed
Parameters
$modules : mixed

getAuthorPosts()

Retrieves recent posts by author

public getAuthorPosts() : mixed
Tags
since
5.1
access

public

getCategoryPosts()

Retrieves recent posts

public getCategoryPosts() : mixed
Tags
since
5.1
access

public

getEntryPosts()

Retrieves recent posts by author of a particular article. This only works on view=entry

public getEntryPosts() : mixed
Tags
since
5.1
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getItems()

Retrieve items based on a particular set of filter type

public getItems(mixed $filterType) : mixed
Parameters
$filterType : mixed
Tags
since
5.1
access

public

getPosts()

Retrieves the latest posts

public getPosts([mixed $id = null ][, mixed $type = 'latest' ]) : mixed
Parameters
$id : mixed = null
$type : mixed = 'latest'
Tags
since
5.1
access

public

getRecentPosts()

Retrieves recent posts

public getRecentPosts() : mixed
Tags
since
5.1
access

public

getTagsPosts()

Retrieves recent posts by a specific tag

public getTagsPosts() : mixed
Tags
since
5.1
access

public

getTeamPosts()

Retrieves recent posts by a specific team

public getTeamPosts() : mixed
Tags
since
5.1
access

public

Determine the view all link based on the module filter type.

public getViewAllLink(mixed $type) : mixed
Parameters
$type : mixed
Tags
since
5.1
access

public

getViewerPosts()

Retrieves posts by the current logged in user

public getViewerPosts() : mixed
Tags
since
5.2.0
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

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

normalizeFilterType()

Normalize legacy values for post types

public normalizeFilterType(mixed $type) : mixed
Parameters
$type : mixed
Tags
since
5.1
access

public

setError()

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

        
On this page

Search results