source: extensions/GrumPluginClasses/gpc_aim.class.inc.php @ 31212

Last change on this file since 31212 was 16012, checked in by grum, 12 years ago

feature:2634- compatibility with Piwigo 2.4
+add some objects on js framework

File size: 1.4 KB
Line 
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
16if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); }
17
18include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/CommonPlugin.class.inc.php');
19
20class 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?>
Note: See TracBrowser for help on using the repository browser.