Documentation

modEasyBlogCategoriesHelper 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
getCategories()  : mixed
Retrieve categories with the module parameters
getCategoryIds()  : mixed
Normalize the category id from the module settings
getChildCategories()  : mixed
Retrieves a list of child categories given the set of categories provided
getCurrentViewedCategory()  : mixed
Get currently viewed category if the user is viewing a particular category page
getError()  : mixed
getErrors()  : mixed
getLayoutFile()  : mixed
Normalize the layout file name
getToggleOutput()  : mixed
Renders the nested category child items
getTreeOutput()  : mixed
Renders the tree layout
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
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

getCategories()

Retrieve categories with the module parameters

public getCategories() : mixed
Tags
since
5.1
access

public

getCategoryIds()

Normalize the category id from the module settings

public getCategoryIds() : mixed
Tags
since
5.1
access

public

getChildCategories()

Retrieves a list of child categories given the set of categories provided

public getChildCategories(mixed &$result, mixed &$categories[, mixed $level = 1 ]) : mixed
Parameters
$result : mixed
$categories : mixed
$level : mixed = 1
Tags
since
5.1
access

public

getCurrentViewedCategory()

Get currently viewed category if the user is viewing a particular category page

public getCurrentViewedCategory() : mixed
Tags
since
5.1
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

getLayoutFile()

Normalize the layout file name

public getLayoutFile() : mixed
Tags
since
5.1
access

public

getToggleOutput()

Renders the nested category child items

public getToggleOutput(mixed &$categories[, mixed $isChild = false ]) : mixed
Parameters
$categories : mixed
$isChild : mixed = false
Tags
since
5.1
access

public

getTreeOutput()

Renders the tree layout

public getTreeOutput(mixed &$categories[, mixed $level = null ]) : mixed
Parameters
$categories : mixed
$level : mixed = null
Tags
since
5.1
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

setError()

public setError(mixed $msg) : mixed
Parameters
$msg : mixed
Loading…
On this page

Search results