Beispiel #1
0
    private function updateValidityFor(Pap_Common_Campaign $campaign) {
        $context = new Pap_Contexts_BackwardCompatibility();
        $context->setCampaignObject($campaign);
        $lifetime = ceil(Pap_Tracking_Cookie::getCookieLifeTimeInDays($context));

        $this->updateValidToDate($lifetime, $campaign->getId());
    }
 private function logMessage($msg) {
     $this->context->debug($msg);
 }