hasBodyParam('showExecuting'); $full = $request->hasBodyParam('full'); $orderByField = (string) $request->getParsedBodyParam('order_by_field', ''); $sortOrder = (string) $request->getParsedBodyParam('sort_order', ''); if ($this->dbi->isSuperUser()) { $this->dbi->selectDb('mysql'); } $this->addScriptFiles(['server/status/processes.js']); $listHtml = $this->template->render('server/status/processes/list', $this->processes->getList( $showExecuting, $full, $orderByField, $sortOrder, )); $urlParams = [ 'ajax_request' => true, 'full' => $full, 'column_name' => $request->getParsedBodyParam('column_name', ''), 'order_by_field' => $orderByField, 'sort_order' => $sortOrder, ]; $this->render('server/status/processes/index', [ 'url_params' => $urlParams, 'is_checked' => $showExecuting, 'server_process_list' => $listHtml, ]); } }