mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
[example] fix comment
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@66 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
b32a29e8a5
commit
662f859a34
@ -107,7 +107,7 @@ function plugin_init_example() {
|
|||||||
// Stats
|
// Stats
|
||||||
$PLUGIN_HOOKS['stats']['example'] = array('stat.php'=>'New stat', 'stat.php?other'=>'New stats 2',);
|
$PLUGIN_HOOKS['stats']['example'] = array('stat.php'=>'New stat', 'stat.php?other'=>'New stats 2',);
|
||||||
|
|
||||||
// Params : plugin name - string type - ID - class - table - form page - Type name
|
// Params : plugin name - string type - ID - Array of attributes
|
||||||
registerPluginType('example', 'PLUGIN_EXAMPLE_TYPE', 1001, array(
|
registerPluginType('example', 'PLUGIN_EXAMPLE_TYPE', 1001, array(
|
||||||
'classname' => 'pluginExample',
|
'classname' => 'pluginExample',
|
||||||
'tablename' => 'glpi_plugin_example',
|
'tablename' => 'glpi_plugin_example',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user