fetch values codeigniter controller code example Example: fetch method and class in codeigniter $this->router->fetch_class(); $this->router->fetch_method();