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
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • UserForumArticle
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class UserForumArticle

Package: Module\ContentUserForum
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: claus.schunk
Located at data/examples/data/modules/content_user_forum/php/content_user_forum_output.php
Methods summary
public
# __construct( )
public
# receiveData( array $request )

main method for controlling different actions received from $_REQUEST[]

main method for controlling different actions received from $_REQUEST[]

Parameters

$request
received $_REQUEST[]
private
# _getUser( string $userid )

Parameters

$userid
private
# _incrementLike( )

increments the current number of likes

increments the current number of likes

private
# _incrementDislike( )

increments the current number of dislikes

increments the current number of dislikes

private
# _saveForum( )

submit for new entry will be called after click at new comment

submit for new entry will be called after click at new comment

private
# _listForum( )

displays all existing comments

displays all existing comments

private
# _newEntry( )

generate view for new entrys

generate view for new entrys

private
# _checkCookie( )

this function sets a cookie when receiving a click on like/dislike - buttons. After the first click the user can�t add likes/dislikes for the same comment for a fixed time intervall (value in cookie).

this function sets a cookie when receiving a click on like/dislike - buttons. After the first click the user can�t add likes/dislikes for the same comment for a fixed time intervall (value in cookie).

Todo:

Use $_REQUEST passed to receiveData()
Properties summary
protected boolean $_qoute
# true
protected string $_messageText
# ''
protected boolean $_generate
# true
protected unknown_type $_allowDeleting
#
protected unknown_type $_userLoggedIn
#
protected unknown_type $_allowedToEditForum
#
protected unknown_type $_modMode
#
protected cSmartyFrontend $_tpl
#
protected string $_currentEmail

email

email

#
protected string $_currentRealname

realname

realname

#
protected $_counter
#
protected integer $_idart

articleId

articleId

#
protected integer $_idcat

CategoryId

CategoryId

#
protected integer $_idlang

LanguageId

LanguageId

#
protected string $_userid

userid

userid

#
protected ArticleForumCollection $_collection
#
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen