19 $view = $this->getViewManager()
22 return [
'TRADE_BINDING'=>$view->prepareFieldInfos(
27 public function listAction(
PageNavigation $pageNavigation, array $select = [], array $filter = [], array $order = []):
Page
29 $select = empty($select) ? [
'*'] : $select;
30 $order = empty($order) ? [
'ID' =>
'ASC'] : $order;
36 $tradeBindings = $tradeBindingCollection::getList(
42 'limit' => $pageNavigation->
getLimit(),
46 return new Page(
'TRADE_BINDINGS', $tradeBindings,
function() use ($filter)
52 return (
int) $tradeBindingCollection::getList([
64 return isset($fields[
'TRADE_BINDINGS'])?[
'TRADE_BINDINGS'=>$fields[
'TRADE_BINDINGS']]:[];
72 if ($saleModulePermissions ==
"D")
74 $r->addError(
new Error(
'Access Denied', 200040300010));