Components after enabled

A callback triggered after component enabled (not loaded).

<?php
function my_component_init(){
		ossn_register_callback('component', 'enabled', 'my_component_cb');
}
function my_component_cb($callback, $type, $params){
		//$params['component'] id of component that enabled.
}