source: extensions/EStat/estat_aim.class.inc.php @ 26014

Last change on this file since 26014 was 17737, checked in by grum, 12 years ago

First commit for EStat files

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1<?php
2/* -----------------------------------------------------------------------------
3  Plugin     : EStat
4  Author     : Grum
5    email    : grum@piwigo.org
6    website  : http://photos.grum.dnsalias.com
7
8    << May the Little SpaceFrog be with you ! >>
9  ------------------------------------------------------------------------------
10  See main.inc.php for release information
11
12  EStat_AIM : classe to manage plugin integration into plugin menu
13
14  --------------------------------------------------------------------------- */
15
16if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); }
17
18include_once('estat_root.class.inc.php');
19
20class EStat_AIM extends EStat_root
21{
22  public function __construct($prefixeTable, $filelocation)
23  {
24    parent::__construct($prefixeTable, $filelocation);
25    $this->initEvents();
26  }
27
28  /*
29    initialize events call for the plugin
30  */
31  public function initEvents()
32  {
33    parent::initEvents();
34    add_event_handler('get_admin_plugin_menu_links', array(&$this, 'pluginAdminMenu') );
35  }
36
37  /* ---------------------------------------------------------------------------
38  Function needed for plugin activation
39  --------------------------------------------------------------------------- */
40
41} // EStat_AIM class
42
43
44?>
Note: See TracBrowser for help on using the repository browser.