Calling/invoking a hook manually in Codeigniter
问题 I searched for calling/invoking a hook manually and similar stuff on the web but couldn't find anything. Is there a such thing in codeigniter? I have a hook below which gets triggered as expected but just in case if doesn't, then I want to invoke it manually in my code. Thanks $hook['post_controller_constructor'] [] = array( 'class' => 'load_designs', 'function' => 'do_load', 'filename' => 'load_designs_hook.php', 'filepath' => 'hooks', 'params' => '' ); 回答1: In order to call a hook, you