clean + fix table name

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@116 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet
2009-12-12 18:51:33 +00:00
parent d5d2a93dc7
commit c16272abf4
4 changed files with 19 additions and 24 deletions

View File

@ -37,7 +37,7 @@
class PluginExampleDropdown extends CommonDropdown {
// From CommonDBTM
public $table = 'glpi_plugin_example_dropdown';
public $table = 'glpi_plugin_example_dropdowns';
public $type = 'PluginExampleDropdown';
static function getTypeName() {

View File

@ -73,9 +73,9 @@ class PluginExampleExample extends CommonDBTM {
$tab[1]['linkfield']='name';
$tab[1]['name']=$LANG['plugin_example']["name"];
$tab[2]['table']='glpi_plugin_example_dropdown';
$tab[2]['table']='glpi_plugin_example_dropdowns';
$tab[2]['field']='name';
$tab[2]['linkfield']='plugin_example_dropdown_id';
$tab[2]['linkfield']='plugin_example_dropdowns_id';
$tab[2]['name']='Dropdown';
$tab[3]['table']='glpi_plugin_example_examples';