Beispiel #1
0
 /**
  * Get Records All.
  *
  * @return array
  */
 public function get()
 {
     $this->data = Bean::all($this->module, $this->options);
     return ['data' => suite_params_array_response_multiple($this->data['entry_list']), 'paginate' => ['count' => (int) $this->data['result_count'], 'total' => (int) $this->data['total_count'], 'first' => 1, 'last' => $this->paginationLast(), 'prev' => $this->paginationPrev(), 'next' => $this->paginationNext(), 'limit' => (int) $this->options['max_results']]];
 }