source: extensions/AMenuManager/amm_aim.class.inc.php @ 5545

Last change on this file since 5545 was 5545, checked in by grum, 14 years ago

Update the plugin for compatibility with Piwigo 2.1

  • Property svn:executable set to *
File size: 1.1 KB
RevLine 
[3681]1<?php
2/* -----------------------------------------------------------------------------
3  Plugin     : Advanced Menu Manager
4  Author     : Grum
5    email    : grum@grum.dnsalias.com
6    website  : http://photos.grum.dnsalias.com
7    PWG user : http://forum.phpwebgallery.net/profile.php?id=3706
8
9    << May the Little SpaceFrog be with you ! >>
10  ------------------------------------------------------------------------------
11  See main.inc.php for release information
12
13  AMM_AIM : classe to manage plugin integration into plugin menu
14
15  --------------------------------------------------------------------------- */
16
17if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); }
18
19include_once('amm_root.class.inc.php');
20
21class AMM_AIM extends AMM_root
[5545]22{
[3681]23  function AMM_AIM($prefixeTable, $filelocation)
24  {
25    parent::__construct($prefixeTable, $filelocation);
26  }
27
28  /*
29    initialize events call for the plugin
30  */
[5545]31  function initEvents()
[3681]32  {
[5545]33    parent::initEvents();
34    add_event_handler('get_admin_plugin_menu_links', array(&$this, 'pluginAdminMenu') );
[3681]35  }
36
37} // amm_aim  class
38
39
40?>
Note: See TracBrowser for help on using the repository browser.