@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This file contains Hook event interface for notification content |
|
5 | - * @package chamilo.library.hook |
|
6 | - */ |
|
4 | + * This file contains Hook event interface for notification content |
|
5 | + * @package chamilo.library.hook |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Interface HookNotificationContentEventInterface |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This file contains Hook event interface for notification title |
|
5 | - * @package chamilo.library.hook |
|
6 | - */ |
|
4 | + * This file contains Hook event interface for notification title |
|
5 | + * @package chamilo.library.hook |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Interface HookNotificationTitleEventInterface |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This file contains Hook observer interface for notification title |
|
5 | - * @package chamilo.library.hook |
|
6 | - */ |
|
4 | + * This file contains Hook observer interface for notification title |
|
5 | + * @package chamilo.library.hook |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Interface HookNotificationTitleObserverInterface |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This file contains all Hook interfaces and their relation. |
|
5 | - * They are used for Hook classes |
|
6 | - * @package chamilo.library.hook |
|
7 | - */ |
|
4 | + * This file contains all Hook interfaces and their relation. |
|
5 | + * They are used for Hook classes |
|
6 | + * @package chamilo.library.hook |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * Interface SkypeHookInterface |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This file contains an abstract Hook observer class |
|
5 | - * Used for Hook Observers in plugins, called when a hook event happens |
|
6 | - * (e.g Create user, Webservice registration) |
|
7 | - * @package chamilo.library.hook |
|
8 | - */ |
|
4 | + * This file contains an abstract Hook observer class |
|
5 | + * Used for Hook Observers in plugins, called when a hook event happens |
|
6 | + * (e.g Create user, Webservice registration) |
|
7 | + * @package chamilo.library.hook |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Class HookObserver |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This file contains the Hook Event class for Title of Notifications |
|
5 | - * @package chamilo.library.hook |
|
6 | - */ |
|
4 | + * This file contains the Hook Event class for Title of Notifications |
|
5 | + * @package chamilo.library.hook |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * Class HookNotificationTitle |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * @TODO: Improve description |
|
5 | - * @package chamilo.hookmanagement |
|
6 | - */ |
|
4 | + * @TODO: Improve description |
|
5 | + * @package chamilo.hookmanagement |
|
6 | + */ |
|
7 | 7 | class HookManagement implements HookManagementInterface |
8 | 8 | { |
9 | 9 | /** |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This file contains an abstract Hook event class |
|
5 | - * Used for Hook Events (e.g Create user, Webservice registration) |
|
6 | - * @package chamilo.library.hook |
|
7 | - */ |
|
4 | + * This file contains an abstract Hook event class |
|
5 | + * Used for Hook Events (e.g Create user, Webservice registration) |
|
6 | + * @package chamilo.library.hook |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * Class HookEvent |
@@ -12,13 +12,13 @@ |
||
12 | 12 | switch ($_SESSION['whereami']) { |
13 | 13 | |
14 | 14 | |
15 | - case 'lp/build' : |
|
16 | - case 'document/create' : |
|
17 | - case 'document/edit' : |
|
18 | - $autostart = 'false'; |
|
19 | - break; |
|
20 | - default : |
|
21 | - $autostart = 'true'; |
|
15 | + case 'lp/build' : |
|
16 | + case 'document/create' : |
|
17 | + case 'document/edit' : |
|
18 | + $autostart = 'false'; |
|
19 | + break; |
|
20 | + default : |
|
21 | + $autostart = 'true'; |
|
22 | 22 | |
23 | 23 | } |
24 | 24 | echo utf8_encode('autostart='.$autostart); |