clearFusionCMS 3.0.0
  • Package
  • Class
  • Tree
  • Deprecated

Packages

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

Classes

  • cfApiController
  • cfBackendAdduserAction
  • cfBackendApikeysAction
  • cfBackendBrowsectntAction
  • cfBackendBrowsefilesAction
  • cfBackendClearcacheAction
  • cfBackendClearipblocksAction
  • cfBackendContentpermsAction
  • cfBackendContenttypesAction
  • cfBackendController
  • cfBackendControllerAction
  • cfBackendDashboardAction
  • cfBackendDocumentsAction
  • cfBackendDraftsAction
  • cfBackendEdituserAction
  • cfBackendElementsAction
  • cfBackendFilemgrAction
  • cfBackendFingerprintAction
  • cfBackendForgotpwdAction
  • cfBackendImagepreviewAction
  • cfBackendListusersAction
  • cfBackendLoginAction
  • cfBackendLogoutAction
  • cfBackendModulesAction
  • cfBackendMyprofileAction
  • cfBackendPrivatefilemgrAction
  • cfBackendResetpwdAction
  • cfBackendRolesAction
  • cfBackendSelectsiteAction
  • cfBackendSet403Action
  • cfBackendSet404Action
  • cfBackendSeterrorAction
  • cfBackendSethomeAction
  • cfBackendSetthemeAction
  • cfBackendSettingsAction
  • cfBackendSitemgrAction
  • cfBackendSocialimgsAction
  • cfConfirm
  • cfContent
  • cfContentController
  • cfContentTree
  • cfCron
  • cfCronController
  • cfCustomFieldList
  • cfCustomFields
  • cfDashboardMgr
  • cfDrafts
  • cfInstallController
  • cfNoticesEvent
  • cfNoticesEventMsg
  • cfPseudoCron
  • cfSearchHelper
  • cfSiteManager
  • cfSocialImagesMgr
  • cfTaskRunner
  • cfTaskSnippets
  • cfTemplateEngine
  • cfUserMgr
  • cfUserProfile
  • cfValidatorPageSlug
  • cfValidatorUserEmail
  • cfValidatorUsername
  • clearFusionCMS
  • contentApiV1
  • contentDrafts
  • errorController

Interfaces

  • cfInstallInterface
  • cfInstallUpdInterface
  • cfModuleSettingsInterface
  • cfUserProfileInterface

Exceptions

  • cfException
  • clearFusionCMSException

Class cfContentTree

cfContentTree Class

Class to draw the tree for the content and allow selection of items.

Package: clearFusionCMS
Copyright: Copyright (c) 2012 - 2016 clearFusionCMS. All rights reserved.
Located at system/app/cfContentTree.php

Methods summary

public
# __construct( string $treeName, cfContent $content, string $module, string $action, integer $active, boolean $move = false )

Construct the tree for the content.

Construct the tree for the content.

Parameters

$treeName
The name of the tree.
$content
The content object.
$module
The module name or null and $action null to insert the document id as the link #[[~1]].
$action
The action name or null to insert the document id.
$active
The ID of the active node.
$move
true if using tree to move a node; else false for navigation.
protected string
# assemble( array $data = array() )

Assemble a manager URI.

Assemble a manager URI.

Parameters

$data
Array of data to include.

Returns

string
The composed URI.
protected flWidgetTreeNode
# buildContentTree( integer $id )

Recursive function to build a tree of the content.

Recursive function to build a tree of the content.

Parameters

$id
ID of the node to build the tree for.

Returns

flWidgetTreeNode
The tree.
public string
# render( flBufferCode $buffer, boolean $innerOnly = false )

Render the tree.

Render the tree.

Parameters

$buffer
The code buffer object if any.
$innerOnly
true to render inner tree portion only; else false.

Returns

string
The HTML to render the tree.
public
# setAJAXMoveHandler( string $handler )

Set the address of the optional AJAX node move handler.

Set the address of the optional AJAX node move handler.

Parameters

$handler
The URI of the AJAX handler.

Properties summary

protected string $module

The module for the link.

The module for the link.

#
protected string $action

The action for the link.

The action for the link.

#
protected flRouter $router

The router.

The router.

#
protected integer $active

The active node.

The active node.

#
protected boolean $move

Flags if moving

Flags if moving

#
protected cfContent $content

The content object.

The content object.

#
protected flWidgetTreeView $tree

The tree.

The tree.

#
protected boolean $useSlugs

Flags if the slug name should be used for the document title.

Flags if the slug name should be used for the document title.

#
clearFusionCMS 3.0.0 API documentation generated by ApiGen