1 | <?php |
---|
2 | /* ----------------------------------------------------------------------------- |
---|
3 | Plugin : Grum Plugin Classes - 3 |
---|
4 | Author : Grum |
---|
5 | email : grum@piwigo.org |
---|
6 | website : http://photos.grum.fr |
---|
7 | |
---|
8 | << May the Little SpaceFrog be with you ! >> |
---|
9 | ------------------------------------------------------------------------------ |
---|
10 | See main.inc.php for release information |
---|
11 | |
---|
12 | UserStat_AIM : classe to manage plugin integration into plugin menu |
---|
13 | |
---|
14 | --------------------------------------------------------------------------- */ |
---|
15 | |
---|
16 | if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); } |
---|
17 | |
---|
18 | include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php'); |
---|
19 | |
---|
20 | class GPC_AIM extends CommonPlugin |
---|
21 | { |
---|
22 | public function __construct($prefixeTable, $filelocation) |
---|
23 | { |
---|
24 | $this->setPluginName("Grum Plugin Classes"); |
---|
25 | $this->setPluginNameFiles("gpc"); |
---|
26 | parent::__construct($prefixeTable, $filelocation); |
---|
27 | } |
---|
28 | |
---|
29 | /* |
---|
30 | initialize events call for the plugin |
---|
31 | */ |
---|
32 | public function initEvents() |
---|
33 | { |
---|
34 | parent::initEvents(); |
---|
35 | add_event_handler('get_admin_plugin_menu_links', array(&$this, 'pluginAdminMenu') ); |
---|
36 | } |
---|
37 | |
---|
38 | public function loadCSS() |
---|
39 | { |
---|
40 | parent::loadCSS(); |
---|
41 | GPCCore::addUI('gpcCSS'); |
---|
42 | } |
---|
43 | |
---|
44 | /* --------------------------------------------------------------------------- |
---|
45 | Function needed for plugin activation |
---|
46 | --------------------------------------------------------------------------- */ |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | } // GPC_AIM class |
---|
51 | |
---|
52 | |
---|
53 | ?> |
---|