RE: what are the different types of hook point in Codeigniter?

what are the different types of hook point in Codeigniter?

dip Team Leader Asked on June 7, 2018 in CODEIGNITER.
Add Comment
1 Answers

Hook Points

The list of hook points is shown below.

    • pre_system

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

    • pre_controller

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

    • post_controller_constructo

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

    • post_controller

It is called immediately after your controller is completely executed.

    • display_override

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

    • cache_override

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

    • post_system

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

Senior Developer Answered on July 4, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.