9 public $mClient =
null;
10 public $_mClientLoadedFlag =
false;
12 public function __construct()
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);
22 public function loadBannerclient()
24 if (
false == $this->_mClientLoadedFlag) {
25 $handler =& xoops_getmodulehandler(
'bannerclient',
'legacyRender');
26 $this->mClient =& $handler->get($this->
get(
'cid'));
27 $this->_mClientLoadedFlag =
true;