Tutorialsplane.com
Try Full Screen Mode
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class User extends CI_Controller { public function _remap($method){ switch ($method) { case 'about' : $this->about_me();// call about_me() function. break; case 'edu' : $this->education();// call education() function. break; default : $this->index(); break; } } public function index(){ echo "Welcome to index function."; } public function profile(){ echo "Welcome to profile function"; } public function about_me(){ echo "Hi I am John !"; } public function education(){ echo " I am Master in Computer application."; } } ?>