php - In Codeigniter what is the purpose of hook ? Why we have to create? -


i new codeigniter. in every interview asked hooks. not getting hook why have use ? benefit of it.

this example link use hooks in codeigniter

https://qasimbadami.wordpress.com/2012/05/18/codeigniter-hooks-tutorial/

note : suppose have big project , 100 controller , if every time check session exists or not , each , every post request use hook


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -