add getTypeName

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@104 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet 2009-12-02 18:37:21 +00:00
parent d263456104
commit c13d3089d3

View File

@ -40,6 +40,13 @@ class pluginExample extends CommonDBTM {
$this->type=PLUGIN_EXAMPLE_TYPE;
}
// Should return the localized name of the type
static function getTypeName() {
global $LANG;
return 'Example Type';
}
function getSearchOptions() {
global $LANG;