Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cCategoryHelper
  • cFrontendHelper
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cFrontendHelper

This class contains functions for the frontend helper class in CONTENIDO.

Package: Core\Frontend\Util
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Dominik Ziegler
Located at classes/class.frontend.helper.php
Methods summary
public static cFrontendHelper
# getInstance( )

Returns the instance of this class.

Returns the instance of this class.

Returns

cFrontendHelper
protected
# __construct( )

Constructor of the class.

Constructor of the class.

protected array
# _fetchCategoryTree( integer $baseCategoryId, integer $depth, integer $currentCategoryId )

Fetches the requested category tree.

Fetches the requested category tree.

Parameters

$baseCategoryId
integer
$baseCategoryId root category ID
$depth
integer
$depth maximum depth
$currentCategoryId
integer
$currentCategoryId the current category ID

Returns

array
category tree

Throws

cUnexpectedValueException
if given category ID is not greater than 0
public array
# renderNavigation( integer $baseCategoryId, integer $depth, integer $currentCategoryId )

Helper function to render the navigation.

Helper function to render the navigation.

Parameters

$baseCategoryId
integer
$baseCategoryId root category ID
$depth
integer
$depth maximum depth
$currentCategoryId
integer
$currentCategoryId the current category ID

Returns

array
category tree
public
# renderSitemap( integer $baseCategoryId, integer $depth, cTemplate & $tpl )

Helper function to render the sitemap.

Helper function to render the sitemap.

Parameters

$baseCategoryId
integer
$baseCategoryId root category ID
$depth
integer
$depth maximum depth
$tpl
cTemplate
$tpl template reference
Properties summary
private static cFrontendHelper $_instance NULL
#

Instance of the helper class.

Instance of the helper class.

CMS CONTENIDO 4.9.1 API documentation generated by ApiGen 2.8.0