Source for file class.comment.php

Documentation is available at class.comment.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @subpackage Comment
  5. @copyright  Refer to copyright.php
  6. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
  7. @author Mambo Foundation Inc see README.php
  8. */
  9.  
  10. /** ensure this file is being included by a parent file */
  11. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  12.  
  13. class moscomment extends mosDBTable {
  14.     /** @var int Primary key */
  15.     var $id=null;
  16.     /** @var int */
  17.     var $articleid=null;
  18.     /** @var varchar */
  19.     var $ip=null;
  20.     /** @var varchar */
  21.     var $name=null;
  22.     /** @var text */
  23.     var $comments=null;
  24.     /** @var datetime */
  25.     var $startdate=null;
  26.     /** @var tinyint */
  27.     var $published=null;
  28.  
  29.     /**
  30.     * @param database 
  31.     *  A database connector object
  32.     */
  33.   function moscomment&$db {
  34.     $this->mosDBTable'#__comment''id'$db );
  35.   }
  36. }
  37. ?>

Documentation generated on Mon, 05 May 2008 16:17:03 +0400 by phpDocumentor 1.4.0