/** * Default action: index */ public function action_index($offset = 0, $limit = 10) { $data['title'] = 'Manage Roles'; $data['content'] = 'We have data!'; $data['roles'] = Model_Role::getRolesByArray($offset, $limit); $view = View::factory('racl/role/index', $data); //print_r($data['roles']); $this->template->content = $view->render(); }