[eluser]waqas amad[/eluser]
with help of this topic , i just want to understand "trigger_events" in functions like register, forgotten_password etc.
i have test these fumnctions but no hooks is set during execution of these system .
does "trigger_events" on call those that we will set using set_hooks function ? or it create hooks dynamically ?
$this->trigger_events(array('post_forgotten_password', 'post_forgotten_password_unsuccessful'));
will you please elaborate above live , what actually it does.
will you please elaborate about the usage of trigger_events instead of native code igniter hooks functions?