abstract class Tree extends ConcreteObject (View source)

Properties

$error from  ConcreteObject
protected $treeNodeSelectedIDs

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

getSelectedTreeNodeIDs()

No description

getTreeTypeID()

No description

getTreeTypeObject()

No description

getTreeTypeHandle()

No description

export(SimpleXMLElement $sx)

No description

static 
exportList(SimpleXMLElement $sx)

No description

static 
import(SimpleXMLElement $sx)

No description

getTreeID()

No description

Node|null
getRootTreeNodeObject()

No description

getRootTreeNodeID()

No description

getNodeByDisplayPath($path)

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

getRequestData()

No description

setRequest($data)

No description

delete()

No description

duplicate()

No description

getJSON()

No description

static 
create(Node $rootNode)

No description

static Tree|null
getByID(int|mixed $treeID)

No description

static Translations
exportTranslations()

Export all the translations associates to every trees.

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

abstract protected loadDetails()

No description

abstract protected deleteDetails()

No description

abstract string getTreeName()

Returns the standard name for this tree

Return Value

string

abstract 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

abstract exportDetails(SimpleXMLElement $sx)

No description

Parameters

SimpleXMLElement $sx

static Tree|null importDetails(SimpleXMLElement $sx)

No description

Parameters

SimpleXMLElement $sx

Return Value

Tree|null

setSelectedTreeNodeIDs($nodeIDs)

No description

Parameters

$nodeIDs

getSelectedTreeNodeIDs()

No description

getTreeTypeID()

No description

getTreeTypeObject()

No description

getTreeTypeHandle()

No description

export(SimpleXMLElement $sx)

No description

Parameters

SimpleXMLElement $sx

static exportList(SimpleXMLElement $sx)

No description

Parameters

SimpleXMLElement $sx

static import(SimpleXMLElement $sx)

No description

Parameters

SimpleXMLElement $sx

getTreeID()

No description

Node|null getRootTreeNodeObject()

No description

Return Value

Node|null

getRootTreeNodeID()

No description

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()

No description

setRequest($data)

No description

Parameters

$data

delete()

No description

duplicate()

No description

getJSON()

No description

static protected create(Node $rootNode)

No description

Parameters

Node $rootNode

final static Tree|null getByID(int|mixed $treeID)

No description

Parameters

int|mixed $treeID

Return Value

Tree|null

static Translations exportTranslations()

Export all the translations associates to every trees.

Return Value

Translations