public function saveRotatorClick(Pap_Contexts_Click $context) { $context->debug('FEATURE BannerRotator: saveRotatorClick started'); if($context->getDoTrackerSave()) { $banner = $context->getBannerObject(); if($banner != null && is_object($banner) && $banner->getParentBanner()!=null){ $context->debug(' FEATURE BannerRotator: Saving rotator click'); $this->saveChildClick($banner, $context); } else { $context->debug(' FEATURE BannerRotator: Banner is not in rotator, skipping'); } } else { $context->debug('FEATURE BannerRotator: Saving in Tracker is disabled (getDoTrackerSave() returned false), continuing without saving'); } $context->debug('FEATURE BannerRotator: saveRotatorClick ended'); $context->debug(''); return Gpf_Plugins_Engine::PROCESS_CONTINUE; }