-
Notifications
You must be signed in to change notification settings - Fork 2
/
init_plugins.php
38 lines (38 loc) · 1.11 KB
/
init_plugins.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* Tine 2.0
*
* Use this script to initialize plugins for frontend, controller and backend layers
*
* @package Tinebase
* @license http://www.gnu.org/licenses/agpl.html AGPL Version 3
* @author Flávio Gomes da Silva Lisboa <flavio.lisboa@serpro.gov.br>
* @copyright Copyright (c) 2008-2014 Metaways Infosystems GmbH (http://www.metaways.de)
* @copyright Copyright (c) 2014 Serpro (http://www.serpro.gov.br)
*
*/
/*
* For injecting plugin into frontend layer:
*
* Tinebase_Frontend_Abstract::attachPlugin('[method]', '[class]');
*
* or
*
* Tinebase_Frontend_Abstract::attachPlugins(array('[method]','[class]'), '[namespace]');
*
* For injecting plugin into controller layer:
*
* Tinebase_Controller_Abstract::attachPlugin('[method]', '[class]');
*
* or
*
* Tinebase_Controller_Abstract::attachPlugins(array('[method]','[class]'), '[namespace]');
*
* For injecting plugin into backend layer:
*
* Tinebase_Backend_Abstract::attachPlugin('[method]', '[class]');
*
* or
*
* Tinebase_Backend_Abstract::attachPlugin(array('[method]','[class]'), '[namespace]');
*/