getSearchOptions() public method

public getSearchOptions ( )
Ejemplo n.º 1
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'type';
     $tab[12]['name'] = __('Type');
     $tab[12]['datatype'] = 'string';
     return $tab;
 }
Ejemplo n.º 2
0
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = 'glpi_devicecasetypes';
     $tab[12]['field'] = 'name';
     $tab[12]['name'] = $LANG['device_case'][0];
     return $tab;
 }
Ejemplo n.º 3
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = 'glpi_devicecasetypes';
     $tab[12]['field'] = 'name';
     $tab[12]['name'] = __('Type');
     $tab[12]['datatype'] = 'dropdown';
     return $tab;
 }
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'chipset';
     $tab[11]['name'] = $LANG['device_moboard'][0];
     $tab[11]['datatype'] = 'text';
     return $tab;
 }
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'type';
     $tab[12]['name'] = $LANG['common'][17];
     $tab[12]['datatype'] = 'text';
     return $tab;
 }
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'specif_default';
     $tab[12]['name'] = $LANG['devices'][6] . " " . $LANG['devices'][24];
     $tab[12]['datatype'] = 'text';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = $LANG['common'][65];
     return $tab;
 }
Ejemplo n.º 7
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'is_atx';
     $tab[11]['name'] = __('ATX');
     $tab[11]['datatype'] = 'bool';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'power';
     $tab[12]['name'] = __('Power');
     $tab[12]['datatype'] = 'string';
     return $tab;
 }
Ejemplo n.º 8
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'memory_default';
     $tab[12]['name'] = __('Memory by default');
     $tab[12]['datatype'] = 'string';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = __('Interface');
     $tab[14]['datatype'] = 'dropdown';
     return $tab;
 }
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'is_raid';
     $tab[12]['name'] = $LANG['device_control'][0];
     $tab[12]['datatype'] = 'bool';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = $LANG['common'][65];
     return $tab;
 }
Ejemplo n.º 10
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'is_raid';
     $tab[12]['name'] = __('RAID');
     $tab[12]['datatype'] = 'bool';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = __('Interface');
     $tab[14]['datatype'] = 'dropdown';
     return $tab;
 }
Ejemplo n.º 11
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'mac_default';
     $tab[11]['name'] = __('MAC address by default');
     $tab[11]['datatype'] = 'string';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'bandwidth';
     $tab[12]['name'] = __('Flow');
     $tab[12]['datatype'] = 'string';
     return $tab;
 }
Ejemplo n.º 12
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'frequency_default';
     $tab[11]['name'] = __('Frequency by default');
     $tab[11]['datatype'] = 'string';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'frequence';
     $tab[12]['name'] = __('Frequency');
     $tab[12]['datatype'] = 'string';
     return $tab;
 }
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'is_atx';
     $tab[11]['name'] = $LANG['device_power'][1];
     $tab[11]['datatype'] = 'bool';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'power';
     $tab[12]['name'] = $LANG['device_power'][0];
     $tab[12]['datatype'] = 'text';
     return $tab;
 }
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'specif_default';
     $tab[11]['name'] = $LANG['device_iface'][2] . " " . $LANG['devices'][24];
     $tab[11]['datatype'] = 'text';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'bandwidth';
     $tab[12]['name'] = $LANG['device_iface'][0];
     $tab[12]['datatype'] = 'text';
     return $tab;
 }
Ejemplo n.º 15
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'is_writer';
     $tab[12]['name'] = __('Writing ability');
     $tab[12]['datatype'] = 'bool';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'speed';
     $tab[13]['name'] = __('Speed');
     $tab[13]['datatype'] = 'string';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = __('Interface');
     $tab[14]['datatype'] = 'dropdown';
     return $tab;
 }
Ejemplo n.º 16
0
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'specif_default';
     $tab[11]['name'] = $LANG['device_ram'][2] . " " . $LANG['devices'][24];
     $tab[11]['datatype'] = 'text';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'frequence';
     $tab[12]['name'] = $LANG['device_ram'][1];
     $tab[12]['datatype'] = 'text';
     $tab[13]['table'] = 'glpi_devicememorytypes';
     $tab[13]['field'] = 'name';
     $tab[13]['name'] = $LANG['common'][17];
     return $tab;
 }
Ejemplo n.º 17
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'size_default';
     $tab[11]['name'] = __('Size by default');
     $tab[11]['datatype'] = 'string';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'frequence';
     $tab[12]['name'] = __('Frequency');
     $tab[12]['datatype'] = 'string';
     $tab[13]['table'] = 'glpi_devicememorytypes';
     $tab[13]['field'] = 'name';
     $tab[13]['name'] = __('Type');
     $tab[13]['datatype'] = 'dropdown';
     return $tab;
 }
Ejemplo n.º 18
0
 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'is_writer';
     $tab[12]['name'] = $LANG['device_drive'][0];
     $tab[12]['datatype'] = 'bool';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'speed';
     $tab[13]['name'] = $LANG['device_drive'][1];
     $tab[13]['datatype'] = 'text';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = $LANG['common'][65];
     return $tab;
 }
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'frequency_default';
     $tab[11]['name'] = __('Frequency by default');
     $tab[11]['datatype'] = 'string';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'frequence';
     $tab[12]['name'] = __('Frequency');
     $tab[12]['datatype'] = 'string';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'nbcores_default';
     $tab[13]['name'] = __('Number of cores');
     $tab[13]['datatype'] = 'integer';
     $tab[14]['table'] = $this->getTable();
     $tab[14]['field'] = 'nbthreads_default';
     $tab[14]['name'] = __('Number of threads');
     $tab[14]['datatype'] = 'integer';
     return $tab;
 }
Ejemplo n.º 20
0
 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'capacity_default';
     $tab[11]['name'] = __('Capacity by default');
     $tab[11]['datatype'] = 'string';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'rpm';
     $tab[12]['name'] = __('Rpm');
     $tab[12]['datatype'] = 'string';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'cache';
     $tab[13]['name'] = __('Cache');
     $tab[13]['datatype'] = 'string';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = __('Interface');
     $tab[14]['datatype'] = 'dropdown';
     return $tab;
 }