'success' => true,
]);
} /**
* Returns the number of categories that exist under the given one
*/
public function getCategoryTreeCountAction() { $categoryId =
$this->
Request()->
getParam('categoryId'
);
$count =
$this->
getRepository()->
getChildrenCountList($categoryId);
$this->view->
assign( [ 'success' => true,
'data' =>
[ 'count' =>
$count,
'batchSize' => 1,
],
] );
}