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

  • ArticleForumCollection
  • ArticleForumItem
  • ArticleForumLeftBottom
  • 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:  * @version SVN Revision $Rev:$
 8:  *
 9:  * @author Claus Schunk
10:  * @copyright four for business AG <www.4fb.de>
11:  * @license http://www.contenido.org/license/LIZENZ.txt
12:  * @link http://www.4fb.de
13:  * @link http://www.contenido.org
14:  */
15: 
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17: 
18: /**
19:  * This class contains functions db-query for cfg.
20:  *
21:  * @package Plugin
22:  * @subpackage UserForum
23:  */
24: class ArticleForumItem extends Item {
25: 
26:     protected $cfg;
27: 
28:     protected $db;
29: 
30:     public function __construct() {
31:         $this->db = cRegistry::getDb();
32:         $this->cfg = cRegistry::getConfig();
33: 
34:         parent::__construct($this->cfg['tab']['user_forum'], 'id_user_forum');
35:     }
36: 
37:     /**
38:      * returns current config
39:      */
40:     public function getCfg() {
41:         return $this->cfg;
42:     }
43: 
44: }
45: ?>
CMS CONTENIDO 4.9.3 API documentation generated by ApiGen 2.8.0