Function execute after loading addon resource. See below example:
class Development_Callbacks extends appRain_Base_Modules_Callbacks
{
public function after_addon_load($name = NULL)
{
switch ($name) {
}
}
}
This function receive addon name in $name parameter and add the value in side page <head> that we print. For example:
public function after_addon_load($name = NULL)
{
switch ($name) {
case 'commonresource':
echo "<script type=\"text/javascript\"> alert('Hello World');</script>";
}
}
Related Functions: before_addon_load