CodeExplorer removeOldAssignmentsCount example
$this->
getCategoryComponent()->
rebuildCategoryPath($categoryId,
$count,
$offset);
$this->view->
assign([ 'success' => true,
]);
} public function getRemoveOldAssignmentsCountAction() { $categoryId =
$this->
Request()->
getParam('categoryId'
);
$count =
$this->
getCategoryComponent()->
removeOldAssignmentsCount($categoryId);
$this->view->
assign([ 'success' => true,
'data' =>
[ 'count' =>
$count,
'batchSize' => 1,
],
]);
} public function removeOldAssignmentsAction() {