0 votes
in CodeIgniter by
edited by

What are different types of hook points in CodeIgniter?

🔗Source: CodeIgniter Interview Questions and Answers

🔗Source: JAVA Interview Questions and Answers

1 Answer

0 votes
by
A list of different types of hook points in CodeIgniter:

post_controller_constructor - It is called immediately after your controller is started but before any method call.

pre_controller - It is called immediately before your controller being called. At this point, all the classes, security checks, and routing have been done.

post_sytem - It is called after the final page is sent to the browser at the end of the system execution.

pre_system - It is called much before the system execution. Only benchmark and hook class have been loaded at this point.

cache_override - It enables you to call your function in the output class.

display_override - It is used to send the final page at the end of file execution.

post_controller - It is called immediately after your controller is entirely executed.

Related questions

0 votes
asked Dec 29, 2020 in CodeIgniter by SakshiSharma
0 votes
asked Dec 28, 2020 in CodeIgniter by SakshiSharma
...