adspace
Answer Posted / Gaurav Srivastav
Hooks in CodeIgniter are a way to extend the functionality of existing classes. They allow you to 'hook' into various points within the framework's flow and execute custom code when those points are reached.nn```phpn$hook['pre_system'][] = array('class' => 'MyHook', 'function' => 'my_function', 'filename' => 'mypath/MyHook.php', 'parameters' => array());n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers