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
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • ArticleForum
  • ArticleForumCollection
  • ArticleForumItem
  • ArticleForumLeftBottom
  • ArticleForumRightBottom
  • cContentTypeUserForum
  • UserForum
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * This file contains the class for db queries.
 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 feature for db queries.
18:  *
19:  *
20:  * @package Plugin
21:  * @subpackage UserForum
22:  */
23: defined('CON_FRAMEWORK') or die('Illegal call');
24: 
25: /**
26:  * Class ArticleForum
27:  */
28: class ArticleForum extends Item {
29:     /**
30:      * ArticleForum constructor.
31:      *
32:      * @param bool $id
33:      *
34:      * @throws cDbException
35:      * @throws cException
36:      */
37:     public function __construct($id = false) {
38:         $cfg = cRegistry::getConfig();
39:         parent::__construct($cfg['tab']['user_forum'], 'id_user_forum');
40:         $this->setFilters(array(), array());
41:         if (false !== $id) {
42:             $this->loadByPrimaryKey($id);
43:         }
44:     }
45: 
46: }
47: 
48: ?>
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0