forked from ersten/humhub-module-map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
autostart.php
22 lines (20 loc) · 1.2 KB
/
autostart.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
Yii::app()->moduleManager->register(array(
'id' => 'map',
'class' => 'application.modules.map.CkMapModule',
'import' => array(
'application.modules.map.*',
'application.modules.map.models.*',
'application.modules.map.notifications.*',
),
'events' => array(
// array('class' => 'AdminMenuWidget', 'event' => 'onInit', 'callback' => array( 'CkMapModuleEvents', 'onAdminMenuInit') ),
array('class' => 'SpaceMenuWidget', 'event' => 'onInit', 'callback' => array('CkMapModuleEvents', 'onSpaceMenuInit')),
array('class' => 'ProfileMenuWidget', 'event' => 'onInit', 'callback' => array('CkMapModuleEvents', 'onProfileMenuInit')),
array('class' => 'SpaceSidebarWidget', 'event' => 'onInit', 'callback' => array('CkMapModuleEvents', 'onSpaceSidebarInit')),
array('class' => 'ProfileSidebarWidget', 'event' => 'onInit', 'callback' => array('CkMapModuleEvents', 'onProfileSidebarInit')),
array('class' => 'DashboardSidebarWidget', 'event' => 'onInit', 'callback' => array('CkMapModuleEvents', 'onDashboardSidebarInit')),
array('class' => 'TopMenuWidget', 'event' => 'onInit', 'callback' => array('CkMapModuleEvents', 'onTopMenuInit')),
),
));
?>