source: extensions/AMetaData/amd_aim.class.inc.php @ 15907

Revision 10363, 1.1 KB checked in by grum, 9 years ago (diff)

forgotten index.php file + PHP5 syntax

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