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

Last change on this file since 2466 was 2466, checked in by grum, 16 years ago

Asked by rvelices on this topic
http://forum.phpwebgallery.net/viewtopic.php?pid=92097#p92097

A plugin to integrate the menu class

see test_menu directory

A plugin to show how to use the menu class

see AMenuManager directory

And common classes needed for the AMenuManager plugin

see grum_plugins_classes-2 directory

See topic http://forum.phpwebgallery.net/viewtopic.php?pid=92637#p92637 for more
informations

  • Property svn:executable set to *
File size: 1.0 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    add_event_handler('get_admin_plugin_menu_links', array(&$this, 'plugin_admin_menu') );
34  }
35
36} // amm_aim  class
37
38
39?>
Note: See TracBrowser for help on using the repository browser.