[example] - add minGlpiVersion and maxGlpiVersion

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@39 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet 2008-01-02 16:34:37 +00:00
parent c9672ae1b8
commit 7d57e848d3

View File

@ -125,8 +125,11 @@ class pluginExample extends CommonDBTM {
// Get the name and the version of the plugin - Needed // Get the name and the version of the plugin - Needed
function plugin_version_example(){ function plugin_version_example(){
return array( 'name' => 'Plugin Example', return array(
'version' => '0.0.1'); 'name' => 'Plugin Example',
'minGlpiVersion' => '0.71', // Optional but recommended
'maxGlpiVersion' => '0.71', // Optional
'version' => '0.0.1');
} }
// Define rights for the plugin types // Define rights for the plugin types