What are hooks in codeigniter?



What are hooks in codeigniter?..

Answer / Sumit Kumar Sharma

Hooks in CodeIgniter are functions that allow you to extend the functionality of the framework. They can be called before or after specific events occur, such as the initialization of controllers, CSRF check failures, etc. Hooks are defined in a php file within the 'hooks' folder.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CodeIgniter Interview Questions

What is hooks in codeigniter?

1 Answers  


What is difference between laravel and codeigniter?

1 Answers  


What is ci_controller in codeigniter?

1 Answers  


How to handle sessions in codeigniter?

1 Answers  


Is codeigniter good for large applications?

1 Answers  


How does csrf work in codeigniter?

1 Answers  


List the databases supported by codeigniter?

1 Answers  


What are different types of hook points in codeigniter?

1 Answers  


Can we allowed to call one controller from another controller in codeigniter?

1 Answers  


How can you remove index.php from url in codeigniter?

1 Answers  


How you will work with error handling in codeigniter?

1 Answers  


What are the security parameter for xss in codeigniter?

1 Answers  


Categories