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 cfContentController

cfContentController Class

Base class for public site content controllers.

flController
Extended by cfContentController
Package: clearFusionCMS
Copyright: Copyright (c) 2012 - 2013 clearFusionCMS. All rights reserved.
Located at system/app/cfContentController.php

Methods summary

public
# __construct( flRouter $router, flRequest $request, cfContent $content = null, array $pageData = null )

Construct the public site controller object.

Construct the public site controller object.

Parameters

$router
The router object.
$request
The request object.
$content
The content object to use, only given if controller being created within a container page.
$pageData
The data for the page, only given if controller being created within a container page.

Throws

flExceptionNotFound

Overrides

flController::__construct
public
# renderAction( )

The action for processing public content, derived classes should replace this.

The action for processing public content, derived classes should replace this.

Throws

flExceptionForbidden
flExceptionNotFound
public flWidgetBreadcrumb
# getBreadcrumb( integer $id = null )

Build a breadcrumb trail.

Build a breadcrumb trail.

Parameters

$id
The id of the page to get the trail to, null for current.

Returns

flWidgetBreadcrumb
The breadcrumb widget.
public cfContentController
# addCrumb( integer $id, string $name, string $link )

Add a crumb to the trail.

Add a crumb to the trail.

Parameters

$id
The ID of the page to add the crumb to the end of.
$name
The anchor text for the link.
$link
The link URI

Returns

cfContentController
This object.

Methods inherited from flController

dispatch(), getActionClass(), getRequest(), getResponse(), getRouter(), setResponse()

Properties summary

protected flDb $db

The database object.

The database object.

#
public cfContent $content

The content object.

The content object.

#
public array $pageData

The raw page data held in the database.

The raw page data held in the database.

# null
protected array $crumbs

Additional crumbs.

Additional crumbs.

# array()

Properties inherited from flController

$actionClass, $request, $response, $router

clearFusionCMS 3.0.0 API documentation generated by ApiGen