protected function getPageList() { $this->searchActions(); $this->actions(); // strony $this->controller_name = 'centra-szkolen'; $this->using_pages = true; $this->count_items = ClassTrainingCenter::sqlGetCountItems($this->search_controller); $this->current_page = ClassTools::getValue('number_page') ? ClassTools::getValue('number_page') : '1'; // tytul strony $this->tpl_title = 'Centra szkoleń: Lista'; // tylul na pasku $this->top_title = 'Lista centrów szkoleń'; // ladowanie funkcji $this->load_select2 = true; $this->load_js_functions = true; // pobieranie wszystkich rekordow $this->tpl_values = ClassTrainingCenter::sqlGetAllItems($this->using_pages, $this->current_page, $this->items_on_page, $this->search_controller); // ladowanie strony z lista return $this->loadTemplate('/training/centres-list'); }