Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • 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

  • ArticleForumCollection
  • ArticleForumItem
  • ArticleForumLeftBottom
  • ArticleForumRightBottom
  • cContentTypeUserForum
  • UserForum
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cContentTypeUserForum

This class contains the features of the contenttype CMS_USERFORUM.

cContentTypeAbstract
Extended by cContentTypeAbstractTabbed
Extended by cContentTypeUserForum
Package: Plugin\UserForum
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Claus Schunk
Located at plugins/user_forum/classes/class.content.type.user_forum.php
Methods summary
public
# __construct( string $rawSettings, integer $id, array $contentTypes )

Initialize class attributes and handles store events.

Initialize class attributes and handles store events.

Parameters

$rawSettings
string
$rawSettings the raw settings in an XML structure or as plaintext
$id
integer
$id ID of the content type, e.g. 3 if CMS_DATE[3] is used
$contentTypes
array
$contentTypes array containing the values of all content types

Overrides

cContentTypeAbstract::__construct()
public string
# generateEditCode( )

Generate the escaped HTML code for editor.

Generate the escaped HTML code for editor.

Returns

string
escaped HTML code for editor
private string
# _getPanel( )

Generates code for the base panel in which all data can be specified.

Generates code for the base panel in which all data can be specified.

Returns

string
The code for the base panel
private
# _getModMode( )
private
# _getEditMode( )
private cHTMLDiv
# _getModEmail( )

Builds a select element allowing to choose a single form that was created for the current client.

Builds a select element allowing to choose a single form that was created for the current client.

Returns

cHTMLDiv
public string
# generateViewCode( )

Generates the code which should be shown if this content type is shown in the frontend. This code is cached. Thatfor ist no more than the initialisation of this class and the call of its method buildCode(). Otherwise the generated HTML would have been cached.

Generates the code which should be shown if this content type is shown in the frontend. This code is cached. Thatfor ist no more than the initialisation of this class and the call of its method buildCode(). Otherwise the generated HTML would have been cached.

Returns

string
escaped HTML code which sould be shown if content type is shown in frontend
public string
# buildCode( )

Get code of form (either GET or POST request).

Get code of form (either GET or POST request).

Returns

string
escaped HTML code which sould be shown if content type is shown in frontend
Methods inherited from cContentTypeAbstractTabbed
_generateActionCode(), _generateTabMenuCode(), _getRawSettings()
Methods inherited from cContentTypeAbstract
_encodeForOutput(), _isActiveDirectory(), _isSubdirectory(), _readSettings(), _shouldDirectoryBeExpanded(), _storeSettings(), buildDirectoryList(), generateDirectoryList(), getConfiguration(), isWysiwygCompatible()
Constants inherited from cContentTypeAbstract
SETTINGS_TYPE_PLAINTEXT, SETTINGS_TYPE_XML
Properties inherited from cContentTypeAbstract
$_cfg, $_cfgClient, $_client, $_contentTypes, $_formFields, $_id, $_idArt, $_idArtLang, $_idCat, $_lang, $_prefix, $_rawSettings, $_session, $_settings, $_settingsType, $_type, $_uploadPath, $_useXHTML
CMS CONTENIDO 4.9.11 API documentation generated by ApiGen 2.8.0