Class JCategoryNode
Helper class to load Categorytree
- JObject
- JCategoryNode
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 1.6
Located at legacy/categories/categories.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
|
#
setSibling(
Function to set the left or right sibling of a category |
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
integer
|
Methods inherited from JObject
__toString()
,
def()
,
get()
,
getError()
,
getErrors()
,
getProperties()
,
set()
,
setError()
,
setProperties()
Magic methods summary
Properties summary
public
integer
|
$id |
#
Primary key |
public
integer
|
$asset_id |
#
The id of the category in the asset table |
public
integer
|
$parent_id |
#
The id of the parent of category in the asset table, 0 for category root |
public
integer
|
$lft |
#
The lft value for this category in the category tree |
public
integer
|
$rgt |
#
The rgt value for this category in the category tree |
public
integer
|
$level |
#
The depth of this category's position in the category tree |
public
integer
|
$extension |
#
The extension this category is associated with |
public
string
|
$title |
#
The menu title for the category (a short name) |
public
string
|
$alias |
#
The the alias for the category |
public
string
|
$description |
#
Description of the category. |
public
boolean
|
$published |
#
The publication status of the category |
public
boolean
|
$checked_out |
#
Whether the category is or is not checked out |
public
string
|
$checked_out_time |
#
The time at which the category was checked out |
public
integer
|
$access |
#
Access level for the category |
public
string
|
$params |
#
JSON string of parameters |
public
string
|
$metadesc |
#
Metadata description |
public
string
|
$metakey |
#
Key words for meta data |
public
string
|
$metadata |
#
JSON string of other meta data |
public
integer
|
$created_user_id |
#
The ID of the user who created the category |
public
string
|
$created_time |
#
The time at which the category was created |
public
integer
|
$modified_user_id |
#
The ID of the user who last modified the category |
public
string
|
$modified_time |
#
The time at which the category was modified |
public
integer
|
$hits |
#
Nmber of times the category has been viewed |
public
string
|
$language |
#
The language for the category in xx-XX format |
public
integer
|
$numitems |
#
Number of items in this category or descendants of this category |
public
integer
|
$childrennumitems |
#
Number of children items |
public
string
|
$slug |
#
Slug fo the category (used in URL) |
public
array
|
$assets |
#
Array of assets |
protected
|
$_parent |
#
Parent Category object |
protected
|
$_children |
#
Array of Children |
protected
array
|
$_path |
#
Path from root to this category |
protected
|
$_leftSibling |
#
Category left of this one |
protected
|
$_rightSibling |
#
Category right of this one |
protected
boolean
|
$_allChildrenloaded |
#
Flag if all children have been loaded |
protected
|
$_constructor |
#
Constructor of this tree |