XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
bannerfinish.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
20 defined('XOOPS_ROOT_PATH') or die('XOOPS root path not defined');
21 
29 {
30  function __construct()
31  {
32  parent::__construct();
33  $this->initVar( 'bid', XOBJ_DTYPE_INT, null, false, 5 );
34  $this->initVar( 'cid', XOBJ_DTYPE_INT, null, false, 5 );
35  $this->initVar( 'impressions', XOBJ_DTYPE_INT, null, false, 8 );
36  $this->initVar( 'clicks', XOBJ_DTYPE_INT, null, false, 8 );
37  $this->initVar( 'datestart', XOBJ_DTYPE_INT, null, false, 10 );
38  $this->initVar( 'dateend', XOBJ_DTYPE_INT, null, false, 10 );
39  }
40 
41 }
42 
54 {
55 
56  function __construct( $db )
57  {
58  parent::__construct( $db, 'bannerfinish', 'SystemBannerFinish', 'bid', 'cid' );
59  }
60 
61 }
62 
63 ?>