Jnr PHP/Codeigniter Developer Question:

Tell me how you can extend the class in Codeigniter?

Tweet Share WhatsApp

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 PDF Read All 61 Jnr PHP/Codeigniter Developer Questions
Previous QuestionNext Question
Tell us what are the __construct() and __destruct() methods in a PHP class?What is routing in Codeigniter?