class FileManager 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

from  Tree
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
Node|null
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 Tree|null
getByID(int|mixed $treeID)

No description

from  Tree
static Translations
exportTranslations()

Export all the translations associates to every trees.

from  Tree
static FileManager|null
get()

Get the FileManager instance.

static FileManager
add()

No description

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

protected loadDetails()

No description

protected deleteDetails()

No description

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)

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

static FileManager|null get()

Get the FileManager instance.

Return Value

FileManager|null

static FileManager add()

No description

Return Value

FileManager