This event occurs when the menu its loaded
This event occurs when loading a horizontal / vertical menu.
In this case, we can execute some security policy, for example, if you try to access the menu directly, without first going through a login form, we can test a session variable defined in the login form, redirect the flow to the initial application.
if( !isset([var_id_user]) or empty([var_id_user]) )
{
sc_redirect("login.php");
}