getPartnerRevenue example

$this->send(
            array_values($referrer),
            (int) $this->Request()->getParam('limit', 25)
        );
    }

    /** * @return void */
    public function getPartnerRevenueAction()
    {
        $result = $this->getRepository()->getPartnerRevenue(
            (int) $this->Request()->getParam('start', 0),
            $this->getLimit(),
            $this->getFromDate(),
            $this->getToDate()
        );

        $data = $result->getData();

        foreach ($data as &$row) {
            if (empty($row['partner'])) {
                $row['partner'] = $row['trackingCode'];
            }
Home | Imprint | This part of the site doesn't use cookies.