public function rebuildAssignmentsAction() { // Try to set maximum execution time
@
set_time_limit(0
);
$categoryId =
$this->
Request()->
getParam('categoryId'
);
$offset =
$this->
Request()->
getParam('offset'
);
$count =
$this->
Request()->
getParam('limit'
);
$this->
getCategoryComponent()->
rebuildAssignments($categoryId,
$count,
$offset);
$this->view->
assign([ 'success' => true,
]);
} /**
* Returns the number of categories that exist under the given one
*/
public function getCategoryTreeCountAction() {