Jnr PHP/Codeigniter Developer Question:
Download Questions PDF

Tell me how you can extend the class in Codeigniter?

Answer:

To extend the native input class in CodeIgniter, you have to build a file named application/core/MY_Input.php and declare your class with

Class MY_Input extends CI_Input {

}

Download Jnr PHP/Codeigniter Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us what are the __construct() and __destruct() methods in a PHP class?What is routing in Codeigniter?