Rev | Line | |
---|
[4270] | 1 | <?php |
---|
| 2 | /* ----------------------------------------------------------------------------- |
---|
| 3 | Plugin : UserStat |
---|
| 4 | Author : Grum |
---|
| 5 | email : grum@piwigo.org |
---|
| 6 | website : http://photos.grum.fr |
---|
| 7 | |
---|
| 8 | << May the Little SpaceFrog be with you ! >> |
---|
| 9 | ------------------------------------------------------------------------------ |
---|
| 10 | See main.inc.php for release information |
---|
| 11 | |
---|
| 12 | UserStat_AIM : classe to manage plugin integration into plugin menu |
---|
| 13 | |
---|
| 14 | --------------------------------------------------------------------------- */ |
---|
| 15 | |
---|
| 16 | if (!defined('PHPWG_ROOT_PATH')) { die('Hacking attempt!'); } |
---|
| 17 | |
---|
[10344] | 18 | include_once('userstat_root.class.inc.php'); |
---|
[5549] | 19 | include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCCss.class.inc.php'); |
---|
[4270] | 20 | |
---|
[10344] | 21 | class UserStat_AIM extends UserStat_root |
---|
[4270] | 22 | { |
---|
[10344] | 23 | function __construct($prefixeTable, $filelocation) |
---|
[4270] | 24 | { |
---|
| 25 | parent::__construct($prefixeTable, $filelocation); |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | /* |
---|
| 29 | initialize events call for the plugin |
---|
| 30 | */ |
---|
[5549] | 31 | function initEvents() |
---|
[4270] | 32 | { |
---|
[10344] | 33 | parent::initEvents(); |
---|
[5549] | 34 | add_event_handler('get_admin_plugin_menu_links', array(&$this, 'pluginAdminMenu') ); |
---|
[4270] | 35 | } |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | } // UserStat_Plugin class |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.