I can't figure out how customer_logged_in
and customer_logged_out
work
<customer_logged_out>
...
</customer_logged_out>
where are they defined, how are they called?
EDIT -----------------------------------------------
<events>
<controller_action_layout_load_before>
<observers>
<customer_is_logged_in_observer>
<class>customer/observer</class>
<method>beforeLoadLayout</method>
</customer_is_logged_in_observer>
</observers>
</controller_action_layout_load_before>
I found out how this is triggered but i can't find the controller_action_layout_load_before event dispatcher
I have searched the project as a text but it doesn't show up in any file. Please shed some light on this.
thanks