function add_extensions()
{
- global $installed_extensions, $path_to_root;
-
- foreach ($installed_extensions as $mod)
- {
- if (@$mod['active'] && isset($mod['entries']))
- foreach($mod['entries'] as $entry) {
- if ($entry['tab_id'] == $this->id)
- $this->add_rapp_function(
- isset($entry['section']) ? $entry['section'] : 2,
- $entry['title'], $path_to_root.'/'.$mod['path'].'/'.$entry['url'],
- isset($entry["access"]) ? $entry["access"] : 'SA_OPEN' );
- }
- }
+ hook_invoke_all('install_options', $this);
}
//
// Helper returning link to report class added by extension module.