class Topic extends Tree (View source)

Properties

$error from ConcreteObject
protected $treeNodeSelectedIDs from Tree

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

loadDetails()

No description

deleteDetails()

No description

string
getTreeName()

Returns the standard name for this tree

string
getTreeDisplayName(string $format = 'html')

Returns the display name for this tree (localized and escaped accordingly to $format)

exportDetails(SimpleXMLElement $sx)

No description

static Tree|null
importDetails(SimpleXMLElement $sx)

No description

setSelectedTreeNodeIDs($nodeIDs)

No description

from Tree
getSelectedTreeNodeIDs()

No description

from Tree
getTreeTypeID()

No description

from Tree
getTreeTypeObject()

No description

from Tree
getTreeTypeHandle()

No description

from Tree
export(SimpleXMLElement $sx)

No description

from Tree
static 
exportList(SimpleXMLElement $sx)

No description

from Tree
static 
import(SimpleXMLElement $sx)

No description

from Tree
getTreeID()

No description

from Tree
getRootTreeNodeObject()

No description

from Tree
getRootTreeNodeID()

No description

from Tree
getNodeByDisplayPath($path)

Iterates through the segments in the path, to return the node at the proper display. Mostly used for export and import.

from Tree
getRequestData()

No description

from Tree
setRequest($data)

No description

from Tree
delete()

No description

from Tree
duplicate()

No description

from Tree
getJSON()

No description

from Tree
static 
create(Node $rootNode)

No description

from Tree
static 
getByID($treeID)

No description

from Tree
static Translations
exportTranslations()

Export all the translations associates to every trees.

from Tree
static 
getDefault()

No description

static 
getByName($name)

No description

static 
add($name)

No description

setTopicTreeName($name)

No description

static 
getList()

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

protected loadDetails()

protected deleteDetails()

string getTreeName()

Returns the standard name for this tree

Return Value

string

string getTreeDisplayName(string $format = 'html')

Returns the display name for this tree (localized and escaped accordingly to $format)

Parameters

string $format = 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped

Return Value

string

exportDetails(SimpleXMLElement $sx)

Parameters

SimpleXMLElement $sx

static Tree|null importDetails(SimpleXMLElement $sx)

Parameters

SimpleXMLElement $sx

Return Value

Tree|null

setSelectedTreeNodeIDs($nodeIDs)

Parameters

$nodeIDs

getSelectedTreeNodeIDs()

getTreeTypeID()

getTreeTypeObject()

getTreeTypeHandle()

export(SimpleXMLElement $sx)

Parameters

SimpleXMLElement $sx

static exportList(SimpleXMLElement $sx)

Parameters

SimpleXMLElement $sx

static import(SimpleXMLElement $sx)

Parameters

SimpleXMLElement $sx

getTreeID()

getRootTreeNodeObject()

getRootTreeNodeID()

getNodeByDisplayPath($path)

Iterates through the segments in the path, to return the node at the proper display. Mostly used for export and import.

Parameters

$path

getRequestData()

setRequest($data)

Parameters

$data

delete()

duplicate()

getJSON()

static protected create(Node $rootNode)

Parameters

Node $rootNode

final static getByID($treeID)

Parameters

$treeID

static Translations exportTranslations()

Export all the translations associates to every trees.

Return Value

Translations

static getDefault()

static getByName($name)

Parameters

$name

static add($name)

Parameters

$name

setTopicTreeName($name)

Parameters

$name

static getList()