source: trunk/plugins/AMenuManager/amm_aim.class.inc.php @ 2641

Last change on this file since 2641 was 2488, checked in by rvelices, 16 years ago
  • based on test_menu by grum (thanks to you) - integration of dynamic menu bar to pwg
  • the menubar is composed now of dynamic blocks that can be ordered/hidden
  • plugins can add their own blocks
  • Property svn:executable set to *
File size: 1.1 KB
Line 
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
22{ 
23  function AMM_AIM($prefixeTable, $filelocation)
24  {
25    parent::__construct($prefixeTable, $filelocation);
26  }
27
28  /*
29    initialize events call for the plugin
30  */
31  function init_events()
32  {
33    parent::init_events();
34    add_event_handler('get_admin_plugin_menu_links', array(&$this, 'plugin_admin_menu') );
35  }
36
37} // amm_aim  class
38
39
40?>
Note: See TracBrowser for help on using the repository browser.