/**
* Controller Action for the batchAction
*
* @throws RuntimeException
*
* @return void
*/
public function batchAction() { $params =
$this->
Request()->
getPost();
$this->resource->
setResultMode(AbstractResource::HYDRATE_ARRAY
);
$result =
$this->resource->
batch($params);
$this->
View()->
assign(['success' => true, 'data' =>
$result]);
} /**
* Controller Action for the batchDelete
*
* @throws RuntimeException
*
* @return void
*/