当前位置: 首页>>代码示例>>PHP>>正文


PHP CommonDevice::getSearchOptions方法代码示例

本文整理汇总了PHP中CommonDevice::getSearchOptions方法的典型用法代码示例。如果您正苦于以下问题:PHP CommonDevice::getSearchOptions方法的具体用法?PHP CommonDevice::getSearchOptions怎么用?PHP CommonDevice::getSearchOptions使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CommonDevice的用法示例。


在下文中一共展示了CommonDevice::getSearchOptions方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getSearchOptions

 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'type';
     $tab[12]['name'] = __('Type');
     $tab[12]['datatype'] = 'string';
     return $tab;
 }
开发者ID:kipman,项目名称:glpi,代码行数:9,代码来源:devicesoundcard.class.php

示例2: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:9,代码来源:devicecase.class.php

示例3: getSearchOptions

 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = 'glpi_devicecasetypes';
     $tab[12]['field'] = 'name';
     $tab[12]['name'] = __('Type');
     $tab[12]['datatype'] = 'dropdown';
     return $tab;
 }
开发者ID:geldarr,项目名称:hack-space,代码行数:9,代码来源:devicecase.class.php

示例4: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:10,代码来源:devicemotherboard.class.php

示例5: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:10,代码来源:devicesoundcard.class.php

示例6: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:13,代码来源:devicegraphiccard.class.php

示例7: getSearchOptions

 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;
 }
开发者ID:stweil,项目名称:glpi,代码行数:13,代码来源:devicepowersupply.class.php

示例8: getSearchOptions

 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;
 }
开发者ID:stweil,项目名称:glpi,代码行数:13,代码来源:devicegraphiccard.class.php

示例9: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:13,代码来源:devicecontrol.class.php

示例10: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:14,代码来源:devicepowersupply.class.php

示例11: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:14,代码来源:devicenetworkcard.class.php

示例12: getSearchOptions

 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;
 }
开发者ID:kipman,项目名称:glpi,代码行数:17,代码来源:devicedrive.class.php

示例13: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:17,代码来源:devicememory.class.php

示例14: getSearchOptions

 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;
 }
开发者ID:stweil,项目名称:glpi,代码行数:17,代码来源:devicememory.class.php

示例15: getSearchOptions

 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;
 }
开发者ID:ryukansent,项目名称:Thesis-SideB,代码行数:17,代码来源:devicedrive.class.php


注:本文中的CommonDevice::getSearchOptions方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。