clearFusionCMS 3.0.0
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • clearFusionCMS
    • module
      • cloudflare
      • comments
      • content
      • forms
      • members
      • search
  • fusionLib
  • None

Classes

  • _flFormGroup
  • _flUtf8Base
  • flAcMgr
  • flApiDbInstaller
  • flApiKeyMgr
  • flApiServer
  • flApiService
  • flApp
  • flAuthTOTP
  • flBufferCode
  • flBufferCss
  • flBufferJs
  • flCache
  • flCacheAPC
  • flCacheDb
  • flCacheDbInstaller
  • flCacheDummy
  • flCacheFile
  • flCacheFunction
  • flCacheMemcache
  • flCacheMemcached
  • flCacheOutput
  • flCacheRedis
  • flCacheSqlite
  • flConfig
  • flConfigDb
  • flConfigDbInstaller
  • flConfigFile
  • flConfigIni
  • flController
  • flControllerAction
  • flDate
  • flDateTzMenu
  • flDb
  • flDbInstaller
  • flDbInstallerInterface
  • flDbMySQL
  • flDbMySQLi
  • flDbMySQLiResult
  • flDbMySQLResult
  • flDbNestedSet
  • flDbResult
  • flDbSQLite
  • flDbSQLite3
  • flDbSQLite3Result
  • flDbSQLiteResult
  • flEmail
  • flEvent
  • flEventDbInstaller
  • flEventManager
  • flExceptionErrorController
  • flExceptionReporter
  • flForm
  • flFormBuilder
  • flFormDecorator
  • flFormDecoratorDl
  • flFormDecoratorDtDd
  • flFormDecoratorFieldset
  • flFormDecoratorForm
  • flFormDecoratorLi
  • flFormDecoratorList
  • flFormDecoratorUl
  • flFormElement
  • flFormElementButton
  • flFormElementCheckbox
  • flFormElementChecklist
  • flFormElementEmail
  • flFormElementFile
  • flFormElementHidden
  • flFormElementImage
  • flFormElementInteger
  • flFormElementNumber
  • flFormElementPane
  • flFormElementPassword
  • flFormElementRadio
  • flFormElementRecaptcha
  • flFormElementSearch
  • flFormElementSelect
  • flFormElementSubmit
  • flFormElementText
  • flFormElementTextArea
  • flFormElementTextSuggest
  • flFormElementUri
  • flFormElementWYSIWYG
  • flFormValidator
  • flFormValidatorAttribMax
  • flFormValidatorAttribMin
  • flFormValidatorCustomJS
  • flFormValidatorEmail
  • flFormValidatorEquals
  • flFormValidatorInteger
  • flFormValidatorMax
  • flFormValidatorMaxChecklist
  • flFormValidatorMaxLength
  • flFormValidatorMin
  • flFormValidatorMinChecklist
  • flFormValidatorMinLength
  • flFormValidatorMultiEmail
  • flFormValidatorNotEquals
  • flFormValidatorNumber
  • flFormValidatorRegex
  • flFormValidatorRequired
  • flFormValidatorSameAs
  • flFormValidatorUri
  • flFtpClient
  • flGravatar
  • flHttpClient
  • flHttpClientCookie
  • flImage
  • flImageFilter
  • flImageFilterBrightness
  • flImageFilterColorize
  • flImageFilterContrast
  • flImageFilterEdgeDetect
  • flImageFilterEmboss
  • flImageFilterGaussianBlur
  • flImageFilterGrayscale
  • flImageFilterMeanRemoval
  • flImageFilterNegative
  • flImageFilterPixelate
  • flImageFilterSelectiveBlur
  • flImageFilterSepia
  • flImageFilterSepia2
  • flImageFilterSmooth
  • flIntegrity
  • flKeygen
  • flLog
  • flLogHandlerChrome
  • flLogHandlerLoggly
  • flLogHandlerPapertrail
  • flLogHandlerSlack
  • flMimeTypes
  • flModuleDbInstaller
  • flModuleMgr
  • flRegistry
  • flRequest
  • flRequestDbInstaller
  • flRequestThrottle
  • flResponse
  • flRouter
  • flRouterRoute
  • flRssChannel
  • flRssClient
  • flRssItem
  • flSearch
  • flSearchIndexer
  • flSearchManager
  • flSearchResults
  • flSearchTags
  • flSession
  • flSessionData
  • flSessionDb
  • flSessionDbInstaller
  • flSessionFile
  • flSessionMemcache
  • flSessionMemcached
  • flSessionRedis
  • flTemplateDbInstaller
  • flTemplateEngine
  • flTemplateManager
  • flTextHTML
  • flTextSplitWords
  • flTextStemmer
  • flTextStemmerEn
  • flTextStrip
  • flTimer
  • flUri
  • flUser
  • flUserAdapter
  • flUserAdapterRemote
  • flUserDbInstaller
  • flUserMgr
  • flUserPwdGen
  • flUserServerApiV1
  • flUtf8
  • flUuid
  • flVariables
  • flVariablesDbInstaller
  • flWidgetBreadcrumb
  • flWidgetFloatingActionMenu
  • flWidgetPagination
  • flWidgetTable
  • flWidgetTabs
  • flWidgetToolbar
  • flWidgetTreeChildNode
  • flWidgetTreeLinkNode
  • flWidgetTreeNode
  • flWidgetTreeView
  • fusionLib

Interfaces

  • flFormElementWYSIWYGCodeInterface
  • flFormElementWYSIWYGInterface
  • flFormElementWYSIWYGTransformInterface
  • flLogHandler
  • flModuleInstallInterface

Exceptions

  • flAcException
  • flAppException
  • flCacheException
  • flConfigException
  • flDateException
  • flDbException
  • flEventException
  • flException
  • flExceptionBadRequest
  • flExceptionForbidden
  • flExceptionLoadClass
  • flExceptionNotFound
  • flExceptionPHP
  • flFormException
  • flHttpClientException
  • flImageException
  • flRegistryException
  • flRequestThrottleException
  • flRouterException
  • flSessionException
  • flTemplateEngineException
  • flUserException
  • flVariablesException
  • flWidgetException

Functions

  • __
  • __noop
  • _flErrorHandler
  • _n
  • _n_noop

Class flWidgetTreeNode

flWidgetTreeNode Class

Class to define a node in the tree view.

Direct known subclasses

flWidgetTreeChildNode, flWidgetTreeLinkNode

Package: fusionLib
Copyright: Copyright (c) 2012 - 2016 fusionLib. All rights reserved.
Located at system/libs/Widget/flWidgetTreeView.php

Methods summary

public
# __construct( string $name, string $type = 'node', string $id = null )

Construct the object.

Construct the object.

Parameters

$name
The node display name.
$type
The name of the node.
$id
The ID of the node.
public flWidgetTreeNode
# setID( string $id )

Set the ID of the node.

Set the ID of the node.

Parameters

$id
The ID of the tree node.

Returns

flWidgetTreeNode
This object.
public flWidgetTreeNode
# setCanDrag( boolean $canDrag )

Set if the node can be dragged or not.

Set if the node can be dragged or not.

Parameters

$canDrag
True if the node can be dragged; else false.

Returns

flWidgetTreeNode
This Object.
public flWidgetTreeNode
# setActive( boolean $active = true )

Set the node as the active node.

Set the node as the active node.

Parameters

$active
true to flag the node as the active node; else false.

Returns

flWidgetTreeNode
This object.
public string
# render( flWidgetTreeView $tree )

Render the node.

Render the node.

Parameters

$tree
The root tree rendering the node.

Returns

string
The HTML for the node.
protected string
# _getName( )

Get the node name wrapped in the active flag if needed.

Get the node name wrapped in the active flag if needed.

Returns

string
The node name including the active flag.
public string
# getName( )

Get the name of the node.

Get the name of the node.

Returns

string

Constants summary

string NODE

Tree view node types.

Tree view node types.

# 'node'
string CONTAINER
# 'container'
string CONTAINEROPEN
# 'containeropen'
string DOC
# 'doc'
string LINK
# 'link'
string VIDEO
# 'video'
string IMAGE
# 'image'
string SOUND
# 'sound'
string PREF
# 'pref'
string CODE
# 'code'
string PHP
# 'php'
string JS
# 'js'
string CSS
# 'css'
string XML
# 'xml'
string PLUGIN
# 'plugin'
string SNIPPET
# 'snippet'
string TEMPLATE
# 'template'
string CHUNK
# 'chunk'
string RESOURCE
# 'resource'
string FIELD
# 'field'
string TASK
# 'task'

Properties summary

protected string $name

The display name for the node.

The display name for the node.

#
protected string $type

The node type.

The node type.

#
protected boolean $active

Flag if the node is the active node.

Flag if the node is the active node.

# false
protected string $id

Optional ID for the node, required for drag n drop.

Optional ID for the node, required for drag n drop.

#
protected boolean $canDrag

Flags if the node can be dragged.

Flags if the node can be dragged.

# true
clearFusionCMS 3.0.0 API documentation generated by ApiGen