rebuildAssignmentsCount example

$this->getCategoryComponent()->removeOldAssignments($categoryId$count$offset);

        $this->view->assign([
            'success' => true,
        ]);
    }

    public function getRebuildAssignmentsCountAction()
    {
        $categoryId = $this->Request()->getParam('categoryId');

        $count = $this->getCategoryComponent()->rebuildAssignmentsCount($categoryId);

        $this->view->assign([
            'success' => true,
            'data' => [
                'count' => $count,
                'batchSize' => 1,
            ],
        ]);
    }

    public function rebuildAssignmentsAction()
    {
Home | Imprint | This part of the site doesn't use cookies.