formHTML)) { $formHtml = call_user_func($this->formHTML); $this->formHTML = $formHtml; } $alerts = $this->alerts(); $rotationEnabled = $this->isActiveRotation(); if ($rotationEnabled) { $this->jsInclude('tablednd'); } if ($this->isAJAX() && ! $this->isAjaxInit()) { if ($formHtml) { $response = []; if ($this->formsTabs->popup) { $response['popup'] = $formHtml; } else { $response['form'] = $formHtml; } $this->ajaxResponseForm($this->appendIncludedStatic($response)); } $response = ['list' => '', 'pgn' => '', 'alerts' => $alerts]; if ( ! empty($this->nestedSetsTree['expand'])) { $response['list'] = $this->rowsRender(['columns' => false, 'noBody' => true, 'noEmpty' => true]); } else if ($this->isPaginationMore()) { unset($response['list'], $response['pgn']); $response['more'] = $this->isMoreAllowed(); if ($this->getOffset()) { $response['append'] = $this->rowsRender(['columns' => false, 'noBody' => true, 'noEmpty' => true]); } else { $response['list'] = $this->rowsRender(); } } else { $response['list'] = $this->rowsRender(); $response['pgn'] = $this->pages(); } $response['total'] = $this->total; $this->jsRender(); $response = $this->appendIncludedStatic($response); if (is_callable($this->onAjaxResponse)) { $response = call_user_func($this->onAjaxResponse, $response); } $this->ajaxResponseForm($response); } ?> wrapper()->attr('id', $this->cssClass('container'))->start(); ?> filters(); BlockList::obCallable($html, $this->afterFilterRender, function($callable) use(& $html) { return call_user_func($callable, $html, $this); }); echo $html; ?>
afterListRender) { tpl::start();} # Table: Columns + Rows $massEnabled = $this->isMassActions(); if ($this->table) { $nestedSetsTree = ! empty($this->nestedSetsTree) ? $this->nestedSetsTree : false; ?>
0 
massActions(); $massActions = $massAction->getActions(); foreach ($massActions as $k => $v) { if (! $massAction->isAllowed($k)) { continue; } Block::attrAdd($v['attr'], 'class', 'j-mass-action'); Block::attrAdd($v['attr'], 'href', 'javascript:'); ?>>
rowsRender(); ?>
isPaginationMore()) { ?>
rowsRender(); ?>
afterListRender) { $html = tpl::stop(); BlockList::obCallable($html, $this->afterListRender, function($callable) use(& $html) { return call_user_func($callable, $html, $this); }); echo $html; } ?> isPaginationMore()) { ?>
pages(); ?>
wrapper()->stop(); if ($massEnabled && ! empty($massActions)) { foreach ($massActions as $v) { if (empty($v['form_html'])) { continue; } echo $v['form_html']; } } ?>