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
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • 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
 1: <?php
 2: /**
 3:  * This file contains the item class for userforum plugin.
 4:  *
 5:  * @package Plugin
 6:  * @subpackage UserForum
 7:  * @author Claus Schunk
 8:  * @copyright four for business AG <www.4fb.de>
 9:  * @license http://www.contenido.org/license/LIZENZ.txt
10:  * @link http://www.4fb.de
11:  * @link http://www.contenido.org
12:  */
13: 
14: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
15: 
16: /**
17:  * This class contains functions db-query for cfg.
18:  *
19:  * @package Plugin
20:  * @subpackage UserForum
21:  */
22: class ArticleForumItem extends Item {
23: 
24:     protected $cfg;
25: 
26:     protected $db;
27: 
28:     public function __construct() {
29:         $this->db = cRegistry::getDb();
30:         $this->cfg = cRegistry::getConfig();
31: 
32:         parent::__construct($this->cfg['tab']['user_forum'], 'id_user_forum');
33:     }
34: 
35:     /**
36:      * returns current config
37:      */
38:     public function getCfg() {
39:         return $this->cfg;
40:     }
41: 
42: }
43: ?>
CMS CONTENIDO 4.10.0 API documentation generated by ApiGen 2.8.0