Jnr PHP/Codeigniter Developer Question:
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 {
}
Class MY_Input extends CI_Input {
}
Previous Question | Next Question |
Tell us what are the __construct() and __destruct() methods in a PHP class? | What is routing in Codeigniter? |