$rows, 'page' => $page, 'page_size' => $page_size, 'page_total' => ($page_size == 0) ? 1 : $this->getPagingTotal($total, $page_size), 'total' => $total, ], $params); } }