Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function index() {
- // ....
- $this->pagination->initialize($config);
- $data['pagination'] = $this->pagination->create_links();
- $limit = $config['per_page'];
- $offset = ($this->uri->segment(3)) ? $this->uri->segment(3) : 0;
- $where = "id IS NOT NULL";
- $servidores = $this->server->listarServidores($this->select, $where, $limit, $offset);
- $data['servidores'] = $servidores;
- $this->template->load('template_view', 'home/home_view', $data);
- }
- $data["limit"] = $limit;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement