In fact, the tutorial refers to the old version of CI, where you used to extend your models from the Model class, as shown in the manual. But now it has been changed. Now you need to extend it from CI_Model, the same for Controller.
For controllers
class Employee_controller extends CI_Controller {
}
and for models
class Employee_model extends CI_Model {
source share