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
genBasicSQL()
generate category filter SQL
public
static genBasicSQL(mixed $columnId[, mixed $options = array() ]) : mixed
Parameters
- $columnId : mixed
- $options : mixed = array()
Tags
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
getAllSubcategories()
Generates a list of subcategories given the main categories
public
getAllSubcategories([mixed $categories = [] ]) : mixed
Parameters
- $categories : mixed = []
Tags
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
isTablet()
Determines if this is a tablet layout
public
isTablet() : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed
validateCategory()
public
static validateCategory(mixed $categories, mixed $authorId) : mixed
Parameters
- $categories : mixed
- $authorId : mixed