setImpressions example


    public function __construct($articleId$shopId$date = null, $impressions = 1, $deviceType = null)
    {
        if ($date === null) {
            $date = new DateTime();
        }
        $this->setArticleId($articleId);
        $this->setShopId($shopId);
        $this->setDate($date);
        $this->setImpressions($impressions);
        $this->setDeviceType($deviceType);
    }

    /** * Get the Id * * @return int */
    public function getId()
    {
        return $this->id;
    }
Home | Imprint | This part of the site doesn't use cookies.