Location: PHPKode > projects > lowbatCMS > lowbatcms/class/testentry.class.php
<?php
/**************************************************************************\
* lowbatCMS				                                   *
* Written and (c) 2006 by Helge Preuss <hide@address.com>
* --------------------------------------------                             *
*  This program is free software; you can redistribute it and/or modify it *
*  under the terms of the GNU General Public License as published by the   *
*  Free Software Foundation; either version 2 of the License, or (at your  *
*  option) any later version.                                              *
***************************************************************************/

require_once (CMS_PATH.'/inc/entry.class.php');

/**
 * <Class description>
 *
 * @package lowbatcms
 * @author Helge Preuss <hide@address.com>
 * @license http://opensource.org/licenses/gpl-license.php
 * GPL - GNU General Public License
 */

class TestEntry extends Entry {
  function TestEntry ($id = 0, $usePostData=false) {
    $this->setTable('t_testentry');
    parent::Entry(array (
      'field1' => 'TextField',
      'field2' => 'IntField',
      'field3' => 'FloatField',
      'field4' => 'BlobField',
      'field5' => 'BoolField'), $id, $usePostData);
    
    DEBUG("TestEntry::TestEntry($fieldname, $id)", 2); 
  }
}

?>
Return current item: lowbatCMS