Last change
on this file since 23683 was
8509,
checked in by grum, 14 years ago
|
First commit for histogram plugin
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Rev | Line | |
---|
[8509] | 1 | <?php |
---|
| 2 | /* ----------------------------------------------------------------------------- |
---|
| 3 | Plugin : Histogram |
---|
| 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 | HGRAM_AIM : classe to manage plugin integration into plugin menu |
---|
| 13 | |
---|
| 14 | --------------------------------------------------------------------------- */ |
---|
| 15 | |
---|
| 16 | if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); } |
---|
| 17 | |
---|
| 18 | include_once('hgram_root.class.inc.php'); |
---|
| 19 | |
---|
| 20 | class HGram_AIM extends HGram_root |
---|
| 21 | { |
---|
| 22 | public function __construct($prefixeTable, $filelocation) |
---|
| 23 | { |
---|
| 24 | parent::__construct($prefixeTable, $filelocation); |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | /* |
---|
| 28 | initialize events call for the plugin |
---|
| 29 | */ |
---|
| 30 | public function initEvents() |
---|
| 31 | { |
---|
| 32 | parent::initEvents(); |
---|
| 33 | add_event_handler('get_admin_plugin_menu_links', array(&$this, 'pluginAdminMenu') ); |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | /* --------------------------------------------------------------------------- |
---|
| 37 | Function needed for plugin activation |
---|
| 38 | --------------------------------------------------------------------------- */ |
---|
| 39 | |
---|
| 40 | } // HGram_AIM class |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.