Documentation

EasyBlogCategory 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
addChilds()  : mixed
genAccessSQL()  : mixed
generate category access sql that used with blogs
genBasicSQL()  : mixed
generate category filter SQL
genCatAccessSQL()  : mixed
generate category access for sql used only in categories
getAllSubcategories()  : mixed
Generates a list of subcategories given the main categories
getError()  : mixed
getErrors()  : mixed
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
validateCategory()  : 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

$string

public mixed $string = \null

Methods

__construct()

public __construct() : mixed

addChilds()

public static addChilds(mixed &$parent, mixed $items) : mixed
Parameters
$parent : mixed
$items : mixed

genAccessSQL()

generate category access sql that used with blogs

public genAccessSQL(mixed $columnId[, mixed $options = array() ][, mixed $acl = CATEGORY_ACL_ACTION_VIEW ]) : mixed
Parameters
$columnId : mixed
$options : mixed = array()
$acl : mixed = CATEGORY_ACL_ACTION_VIEW
Tags
since
5.0
access

public

genBasicSQL()

generate category filter SQL

public static genBasicSQL(mixed $columnId[, mixed $options = array() ]) : mixed
Parameters
$columnId : mixed
$options : mixed = array()
Tags
since
5.2
access

public

genCatAccessSQL()

generate category access for sql used only in categories

public static genCatAccessSQL(mixed $column, mixed $columnId[, mixed $aclQuery = CATEGORY_ACL_ACTION_VIEW ][, mixed $my = false ]) : mixed
Parameters
$column : mixed
$columnId : mixed
$aclQuery : mixed = CATEGORY_ACL_ACTION_VIEW
$my : mixed = false
Tags
since
5.0
access

public

@return

getAllSubcategories()

Generates a list of subcategories given the main categories

public getAllSubcategories([mixed $categories = [] ]) : mixed
Parameters
$categories : mixed = []
Tags
since
6.0.0
access

public

getError()

public getError() : mixed

getErrors()

public getErrors() : mixed

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

validateCategory()

public static validateCategory(mixed $categories, mixed $authorId) : mixed
Parameters
$categories : mixed
$authorId : mixed

        
On this page

Search results