b2evolution PHP Cross Reference Blogging Systems

Source: /inc/comments/model/_commentcache.class.php - 52 lines - 1679 bytes - Summary - Text - Print

Description: This file implements the CommentCache class. This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}. See also {@link http://sourceforge.net/projects/evocms/}.

   1  <?php
   2  /**
   3   * This file implements the CommentCache class.
   4   *
   5   * This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}.
   6   * See also {@link http://sourceforge.net/projects/evocms/}.
   7   *
   8   * @copyright (c)2003-2014 by Francois Planque - {@link http://fplanque.com/}.
   9  *
  10   * @license http://b2evolution.net/about/license.html GNU General Public License (GPL)
  11   *
  12   * {@internal Open Source relicensing agreement:
  13   * EVO FACTORY grants Francois PLANQUE the right to license
  14   * EVO FACTORY contributions to this file and the b2evolution project
  15   * under any OSI approved OSS license (http://www.opensource.org/licenses/).
  16   * }}
  17   *
  18   * @package evocore
  19   *
  20   * {@internal Below is a list of authors who have contributed to design/coding of this file: }}
  21   * @author asimo: Evo Factory / Attila Simo
  22   *
  23   * @version $Id: _commentcache.class.php 6136 2014-03-08 07:59:48Z manuel $
  24   */
  25  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  26  
  27  load_class( '_core/model/dataobjects/_dataobjectcache.class.php', 'DataObjectCache' );
  28  
  29  //load_class( 'comments/model/_comment.class.php', 'Comment' );
  30  
  31  /**
  32   * Comment Cache Class
  33   *
  34   * @package evocore
  35   */
  36  class CommentCache extends DataObjectCache
  37  {
  38      /**
  39       * Constructor
  40       *
  41       * @param string object type of elements in Cache
  42       * @param string Name of the DB table
  43       * @param string Prefix of fields in the table
  44       * @param string Name of the ID field (including prefix)
  45       */
  46  	function CommentCache( $objType = 'Comment', $dbtablename = 'T_comments', $dbprefix = 'comment_', $dbIDname = 'comment_ID' )
  47      {
  48          parent::DataObjectCache( $objType, false, $dbtablename, $dbprefix, $dbIDname );
  49      }
  50  }
  51  
  52  ?>

title

Description

title

Description

title

Description

title

title

Body