XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
bannerfinish.php
1<?php
2
3if (!defined('XOOPS_ROOT_PATH')) {
4 exit();
5}
6
8{
9 public $mClient = null;
10 public $_mClientLoadedFlag = false;
11
12 public function __construct()
13 {
14 $this->initVar('bid', XOBJ_DTYPE_INT, '', false);
15 $this->initVar('cid', XOBJ_DTYPE_INT, '0', true);
16 $this->initVar('impressions', XOBJ_DTYPE_INT, '0', true);
17 $this->initVar('clicks', XOBJ_DTYPE_INT, '0', true);
18 $this->initVar('datestart', XOBJ_DTYPE_INT, '0', true);
19 $this->initVar('dateend', XOBJ_DTYPE_INT, '0', true);
20 }
21
22 public function loadBannerclient()
23 {
24 if (false == $this->_mClientLoadedFlag) {
25 $handler =& xoops_getmodulehandler('bannerclient', 'legacyRender');
26 $this->mClient =& $handler->get($this->get('cid'));
27 $this->_mClientLoadedFlag = true;
28 }
29 }
30}
31
33{
34 public $mTable = 'bannerfinish';
35 public $mPrimary = 'bid';
36 public $mClass = 'LegacyRenderBannerfinishObject';
37}